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 a960d096 Javadoc a960d096 is described below commit a960d096d9348ce9c415aa54196c1d2a73df8d56 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Jun 18 09:30:08 2024 -0400 Javadoc --- .../src/main/java/org/apache/commons/vfs2/FileFilterSelector.java | 2 +- .../src/main/java/org/apache/commons/vfs2/filter/IOCase.java | 2 +- .../src/main/java/org/apache/commons/vfs2/filter/OrFileFilter.java | 2 +- .../java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java | 2 +- .../apache/commons/vfs2/provider/AbstractRandomAccessContent.java | 6 ++++-- .../commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java | 4 ++-- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java index ce3ebb19..4deceac5 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java @@ -21,7 +21,7 @@ import org.apache.commons.vfs2.util.Messages; /** * A {@link org.apache.commons.vfs2.FileSelector} that selects all children of the given fileObject. * <p> - * This is to mimic the {@link java.io.FileFilter} interface. + * This is to mimic the {@link FileFilter} interface. * </p> */ public class FileFilterSelector extends FileDepthSelector { diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/IOCase.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/IOCase.java index f9a2b9f9..8a2fef1c 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/IOCase.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/IOCase.java @@ -57,7 +57,7 @@ public enum IOCase { * <strong>Note:</strong> This only caters for Windows and Unix. Other operating * systems (e.g. OSX and OpenVMS) are treated as case-sensitive if they use the * Unix file separator and case-insensitive if they use the Windows file - * separator (see {@link java.io.File#separatorChar}). + * separator (see {@link File#separatorChar}). * <p> * If you serialize this constant on Windows, and deserialize on Unix, or vice * versa, then the value of the case-sensitivity flag will change. diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/OrFileFilter.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/OrFileFilter.java index b77b2dbc..16491b2a 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/OrFileFilter.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/OrFileFilter.java @@ -28,7 +28,7 @@ import org.apache.commons.vfs2.FileSelectInfo; import org.apache.commons.vfs2.FileSystemException; /** - * A {@link java.io.FileFilter} providing conditional OR logic across a list of + * A {@link FileFilter} providing conditional OR logic across a list of * file filters. This filter returns {@code true} if any filters in the list * return {@code true}. Otherwise, it returns {@code false}. Checking of the * file filter list stops when the first filter returns {@code true}. diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java index 6ea226f5..1dc2e942 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java @@ -190,7 +190,7 @@ public class DefaultFileReplicator extends AbstractVfsComponent implements FileR /** * Removes a file from the copies list. Will be used for cleanup. * <p> - * Notice: The system awaits that the returning object can be cast to a {@link java.io.File}. + * Notice: The system awaits that the returning object can be cast to a {@link File}. * * @return the File that was removed. */ diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java index 26fa7f50..84536016 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java @@ -16,6 +16,8 @@ */ package org.apache.commons.vfs2.provider; +import java.io.DataInputStream; +import java.io.DataOutput; import java.io.IOException; import java.util.Objects; @@ -23,7 +25,7 @@ import org.apache.commons.vfs2.RandomAccessContent; import org.apache.commons.vfs2.util.RandomAccessMode; /** - * Implements the {@link java.io.DataOutput} part of the {@link RandomAccessContent} interface and throws + * Implements the {@link DataOutput} part of the {@link RandomAccessContent} interface and throws * {@link UnsupportedOperationException} when one of these methods are called. For read-only random access * implementations. */ @@ -34,7 +36,7 @@ public abstract class AbstractRandomAccessContent implements RandomAccessContent } /** - * @deprecated see {@link java.io.DataInputStream#readLine()} This method will be removed when it is removed from + * @deprecated see {@link DataInputStream#readLine()} This method will be removed when it is removed from * the DataInput interface this class implements (which will probably never happen). * @return The line as a String. * @throws IOException if an error occurs. diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java index 74d29cb9..b78a5695 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java @@ -545,7 +545,7 @@ public final class SftpFileSystemConfigBuilder extends FileSystemConfigBuilder { /** * Sets the identity files (your private key files). * <p> - * We use {@link java.io.File} because JSch cannot deal with VFS FileObjects. + * We use {@link File} because JSch cannot deal with VFS FileObjects. * </p> * * @param options The FileSystem options. @@ -614,7 +614,7 @@ public final class SftpFileSystemConfigBuilder extends FileSystemConfigBuilder { /** * Sets the known_hosts file. e.g. {@code /home/user/.ssh/known_hosts2}. * <p> - * We use {@link java.io.File} because JSch cannot deal with VFS FileObjects. + * We use {@link File} because JSch cannot deal with VFS FileObjects. * </p> * * @param options The FileSystem options.