diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/RandomAccessContent.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/RandomAccessContent.java index 0bdaf16012..b3f5718571 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/RandomAccessContent.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/RandomAccessContent.java @@ -52,7 +52,7 @@ public interface RandomAccessContent extends DataOutput, DataInput, Closeable { /** * Gets the input stream. *

- * Notice: If you use {@link #seek(long)} you have to re-get the InputStream + * Notice: If you use {@link #seek(long)} you have to re-get the InputStream *

* * @return the InputStream. diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java index cca6b51521..075bf0d852 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java @@ -26,7 +26,7 @@ * This implementation never ever caches a single file. *

*

- * Notice: if you use resolveFile(uri) multiple times with the same path, the system will always create a new + * Notice: if you use resolveFile(uri) multiple times with the same path, the system will always create a new * instance. Changes on one instance of this file are not seen by the others. *

*/ diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/AgeFileFilter.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/AgeFileFilter.java index c879995461..ad5f26e85a 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/AgeFileFilter.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/AgeFileFilter.java @@ -162,8 +162,8 @@ public AgeFileFilter(final long cutoff, final boolean acceptOlder) { * Checks to see if the last modification of the file matches cutoff favorably. *

* If last modification time equals cutoff and newer files are required, file - * IS NOT selected. If last modification time equals cutoff and older - * files are required, file IS selected. + * IS NOT selected. If last modification time equals cutoff and older + * files are required, file IS selected. *

* * @param fileInfo the File to check diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/CanWriteFileFilter.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/CanWriteFileFilter.java index acf7e461bc..5a35c18e5d 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/CanWriteFileFilter.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/CanWriteFileFilter.java @@ -56,7 +56,7 @@ * * *

- * N.B. For read-only files, use + * N.B. For read-only files, use * {@code CanReadFileFilter.READ_ONLY}. *

* diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/SizeFileFilter.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/SizeFileFilter.java index abb70d643f..c184fefdf0 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/SizeFileFilter.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/SizeFileFilter.java @@ -85,9 +85,9 @@ public SizeFileFilter(final long size, final boolean acceptLarger) { /** * Checks to see if the size of the file is favorable. *

- * If size equals threshold and smaller files are required, file IS NOT + * If size equals threshold and smaller files are required, file IS NOT * selected. If size equals threshold and larger files are required, file - * IS selected. + * IS selected. *

*

* Non-existing files return always false (will never be accepted). 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 be4539d583..521ccdfafb 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 @@ -94,7 +94,7 @@ public int hashCode() { * the VFS host. *

*

- * When used, the proxy username ({@linkplain #setProxyUser}) and hostname ({@linkplain #setProxyHost}) must + * When used, the proxy username ({@linkplain #setProxyUser}) and hostname ({@linkplain #setProxyHost}) must * be set. Optionally, the command ({@linkplain #setProxyCommand}), password ({@linkplain #setProxyPassword}) and * connection options ({@linkplain #setProxyOptions}) can be set. *