This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push: new f116d45 Javadoc fixes. f116d45 is described below commit f116d454e5883686304ac9c3df2e4edcb5dbab07 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Dec 23 13:47:42 2019 -0500 Javadoc fixes. --- commons-vfs2/src/main/java/org/apache/commons/vfs2/FileContent.java | 2 +- .../src/main/java/org/apache/commons/vfs2/FileSystemOptions.java | 1 - .../main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java | 3 ++- .../java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileContent.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileContent.java index 7e571f0..0b87cac 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileContent.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileContent.java @@ -310,7 +310,7 @@ public interface FileContent extends Closeable { * Checks if the receiver is empty. * * @return true if the receiver is empty, false otherwise. - * @throws FileSystemException + * @throws FileSystemException If the file does not exist, or is being written to, or on error determining the size. * @since 2.5.0 */ default boolean isEmpty() throws FileSystemException { diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java index f54eec5..0e96df6 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java @@ -38,7 +38,6 @@ import java.util.TreeMap; * @see org.apache.commons.vfs2.provider.ftps.FtpsFileSystemConfigBuilder * @see org.apache.commons.vfs2.provider.hdfs.HdfsFileSystemConfigBuilder * @see org.apache.commons.vfs2.provider.http.HttpFileSystemConfigBuilder - * @see org.apache.commons.vfs2.provider.webdav.WebdavFileSystemConfigBuilder * @see org.apache.commons.vfs2.provider.ram.RamFileSystemConfigBuilder * @see org.apache.commons.vfs2.provider.res.ResourceFileSystemConfigBuilder * @see org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java index a125d4d..65c0c6f 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java @@ -64,7 +64,8 @@ public class HostFileNameParser extends AbstractFileNameParser { /** * Extracts the scheme, userinfo, hostname and port components of a generic URI. - * + * + * @param context component context. * @param uri The absolute URI to parse. * @param name Used to return the remainder of the URI. * @return Authority extracted host authority, never null. diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java index a33f510..7a01743 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java @@ -327,6 +327,7 @@ public class SftpFileSystem extends AbstractFileSystem { } /** + * @return Whether the exec channel is disabled. * @see SftpFileSystem#execDisabled */ public boolean isExecDisabled() {