Skip to content

Commit 3a5e8aa

Browse files
committed
FileUtils: give a hint how to delete temp dirs
This very same class has a handy method for achieving the "caller's responsibility", so let's advertise it.
1 parent 93faac4 commit 3a5e8aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/scijava/util/FileUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public static String limitPath(final String path, final int limit) {
407407
* </p>
408408
* <p>
409409
* It is the caller's responsibility to make sure that the directory is
410-
* deleted.
410+
* deleted; see {@link #deleteRecursively(File)}.
411411
* </p>
412412
*
413413
* @param prefix The prefix string to be used in generating the file's name;
@@ -433,7 +433,7 @@ public static File createTemporaryDirectory(final String prefix,
433433
* </p>
434434
* <p>
435435
* It is the caller's responsibility to make sure that the directory is
436-
* deleted.
436+
* deleted; see {@link #deleteRecursively(File)}.
437437
* </p>
438438
*
439439
* @param prefix The prefix string to be used in generating the file's name;

0 commit comments

Comments
 (0)