Skip to content

Commit 5b78256

Browse files
author
Gary Gregory
committed
Javadoc.
1 parent 1e73dd9 commit 5b78256

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/main/java/org/apache/commons/io/file/PathUtils.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public static PathCounters cleanDirectory(final Path directory, final DeleteOpti
226226
*
227227
* @param file the {@code Path} of which the modification date must be compared
228228
* @param fileTime the time reference.
229-
* @param options options indicating how symbolic links are handled been modified after the given time reference.
229+
* @param options options indicating how to handle symbolic links.
230230
* @return See {@link FileTime#compareTo(FileTime)}
231231
* @throws IOException if an I/O error occurs.
232232
* @throws NullPointerException if the file is {@code null}
@@ -749,7 +749,7 @@ public static Path getTempDirectory() {
749749
* {@code Files.isDirectory(Path path, LinkOption... options)}.
750750
*
751751
* @param path the path to the file.
752-
* @param options options indicating how symbolic links are handled
752+
* @param options options indicating how to handle symbolic links
753753
* @return {@code true} if the file is a directory; {@code false} if the path is null, the file does not exist, is not a
754754
* directory, or it cannot be determined if the file is a directory or not.
755755
* @throws SecurityException In the case of the default provider, and a security manager is installed, the
@@ -806,7 +806,7 @@ public static boolean isEmptyFile(final Path file) throws IOException {
806806
*
807807
* @param file the {@code Path} of which the modification date must be compared
808808
* @param czdt the time reference.
809-
* @param options options indicating how symbolic links are handled been modified after the given time reference.
809+
* @param options options indicating how to handle symbolic links.
810810
* @return true if the {@code Path} exists and has been modified after the given time reference.
811811
* @throws IOException if an I/O error occurs.
812812
* @throws NullPointerException if the file is {@code null}
@@ -822,7 +822,7 @@ public static boolean isNewer(final Path file, final ChronoZonedDateTime<?> czdt
822822
*
823823
* @param file the {@code Path} of which the modification date must be compared
824824
* @param fileTime the time reference.
825-
* @param options options indicating how symbolic links are handled been modified after the given time reference.
825+
* @param options options indicating how to handle symbolic links.
826826
* @return true if the {@code Path} exists and has been modified after the given time reference.
827827
* @throws IOException if an I/O error occurs.
828828
* @throws NullPointerException if the file is {@code null}
@@ -840,7 +840,7 @@ public static boolean isNewer(final Path file, final FileTime fileTime, final Li
840840
*
841841
* @param file the {@code Path} of which the modification date must be compared
842842
* @param instant the time reference.
843-
* @param options options indicating how symbolic links are handled.
843+
* @param options options indicating how to handle symbolic links.
844844
* @return true if the {@code Path} exists and has been modified after the given time reference.
845845
* @throws IOException if an I/O error occurs.
846846
* @throws NullPointerException if the file is {@code null}
@@ -855,7 +855,7 @@ public static boolean isNewer(final Path file, final Instant instant, final Link
855855
*
856856
* @param file the {@code Path} of which the modification date must be compared
857857
* @param timeMillis the time reference measured in milliseconds since the epoch (00:00:00 GMT, January 1, 1970)
858-
* @param options options indicating how symbolic links are handled.
858+
* @param options options indicating how to handle symbolic links.
859859
* @return true if the {@code Path} exists and has been modified after the given time reference.
860860
* @throws IOException if an I/O error occurs.
861861
* @throws NullPointerException if the file is {@code null}
@@ -884,7 +884,7 @@ public static boolean isNewer(final Path file, final Path reference) throws IOEx
884884
*
885885
* @param file the {@code Path} of which the modification date must be compared.
886886
* @param fileTime the time reference.
887-
* @param options options indicating how symbolic links are handled been modified after the given time reference.
887+
* @param options options indicating how to handle symbolic links.
888888
* @return true if the {@code Path} exists and has been modified before the given time reference.
889889
* @throws IOException if an I/O error occurs.
890890
* @throws NullPointerException if the file is {@code null}
@@ -902,7 +902,7 @@ public static boolean isOlder(final Path file, final FileTime fileTime, final Li
902902
*
903903
* @param file the {@code Path} of which the modification date must be compared.
904904
* @param instant the time reference.
905-
* @param options options indicating how symbolic links are handled.
905+
* @param options options indicating how to handle symbolic links.
906906
* @return true if the {@code Path} exists and has been modified after the given time reference.
907907
* @throws IOException if an I/O error occurs.
908908
* @throws NullPointerException if the file is {@code null}
@@ -917,7 +917,7 @@ public static boolean isOlder(final Path file, final Instant instant, final Link
917917
*
918918
* @param file the {@code Path} of which the modification date must be compared
919919
* @param timeMillis the time reference measured in milliseconds since the epoch (00:00:00 GMT, January 1, 1970)
920-
* @param options options indicating how symbolic links are handled been modified after the given time reference.
920+
* @param options options indicating how to handle symbolic links.
921921
* @return true if the {@code Path} exists and has been modified before the given time reference.
922922
* @throws IOException if an I/O error occurs.
923923
* @throws NullPointerException if the file is {@code null}
@@ -946,7 +946,7 @@ public static boolean isOlder(final Path file, final Path reference) throws IOEx
946946
* {@code Files.isRegularFile(Path path, LinkOption... options)}.
947947
*
948948
* @param path the path to the file.
949-
* @param options options indicating how symbolic links are handled
949+
* @param options options indicating how to handle symbolic links.
950950
* @return {@code true} if the file is a regular file; {@code false} if the path is null, the file does not exist, is
951951
* not a directory, or it cannot be determined if the file is a regular file or not.
952952
* @throws SecurityException In the case of the default provider, and a security manager is installed, the
@@ -1094,7 +1094,7 @@ private static void requireCanWrite(final Path file, final String name) {
10941094
*
10951095
* @param file The {@code File} to check.
10961096
* @param fileParamName The parameter name to use in the exception message in case of {@code null} input.
1097-
* @param options options indicating how symbolic links are handled.
1097+
* @param options options indicating how to handle symbolic links.
10981098
* @return the given file.
10991099
* @throws NullPointerException if the given {@code File} is {@code null}.
11001100
* @throws IllegalArgumentException if the given {@code File} does not exist.
@@ -1158,7 +1158,7 @@ public static void setLastModifiedTime(final Path sourceFile, final Path targetF
11581158
*
11591159
* @param path The path to set.
11601160
* @param readOnly true for read-only, false for not read-only.
1161-
* @param linkOptions options indicating how symbolic links are handled.
1161+
* @param linkOptions options indicating how to handle symbolic links.
11621162
* @return The given path.
11631163
* @throws IOException if an I/O error occurs.
11641164
* @since 2.8.0
@@ -1357,7 +1357,7 @@ public static <T extends FileVisitor<? super Path>> T visitFileTree(final T visi
13571357
*
13581358
* @param file the file to check, must not be {@code null}.
13591359
* @param timeout the maximum time to wait.
1360-
* @param options options indicating how symbolic links are handled.
1360+
* @param options options indicating how to handle symbolic links.
13611361
* @return true if file exists.
13621362
* @throws NullPointerException if the file is {@code null}.
13631363
* @since 2.12.0

0 commit comments

Comments
 (0)