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 a9f8a11 Remove dead comments. Comment empty blocks. a9f8a11 is described below commit a9f8a110513c8846ef0809c91bf10bd3e37fb41e Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Sat Apr 27 13:03:38 2019 -0400 Remove dead comments. Comment empty blocks. --- .../apache/commons/vfs2/provider/AbstractVfsComponent.java | 2 ++ .../apache/commons/vfs2/provider/sftp/SftpFileProvider.java | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractVfsComponent.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractVfsComponent.java index be563d0..2d7522c 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractVfsComponent.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractVfsComponent.java @@ -53,6 +53,7 @@ public abstract class AbstractVfsComponent implements VfsComponent { */ @Override public void init() throws FileSystemException { + // default is noop. } /** @@ -60,6 +61,7 @@ public abstract class AbstractVfsComponent implements VfsComponent { */ @Override public void close() { + // default is noop. } /** diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileProvider.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileProvider.java index fbeb906..286cea1 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileProvider.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileProvider.java @@ -67,8 +67,6 @@ public class SftpFileProvider extends AbstractOriginatingFileProvider { @Override protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions) throws FileSystemException { - // JSch jsch = createJSch(fileSystemOptions); - // Create the file system final GenericFileName rootName = (GenericFileName) name; @@ -93,15 +91,6 @@ public class SftpFileProvider extends AbstractOriginatingFileProvider { } /** - * Returns the JSch. - * - * @return Returns the jSch. - */ - /* - * private JSch getJSch() { return this.jSch; } - */ - - /** * Initializes the component. * * @throws FileSystemException if an error occurs.