Skip to content

Commit dbdab57

Browse files
committed
Document current Windows behaviour.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1300451 13f79535-47bb-0310-9956-ffa450edef68
1 parent d58ac89 commit dbdab57

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2651,7 +2651,10 @@ public static void moveToDirectory(File src, File destDir, boolean createDestDir
26512651
* <p>
26522652
* Will not return true if there is a Symbolic Link anywhere in the path,
26532653
* only if the specific file is.
2654-
*
2654+
* <p>
2655+
* <b>Note:</b> the current implementation always returns {@code false} if the system
2656+
* is detected as Windows using {@link FilenameUtils#isSystemWindows()}
2657+
*
26552658
* @param file the file to check
26562659
* @return true if the file is a Symbolic Link
26572660
* @throws IOException if an IO error occurs while checking the file

0 commit comments

Comments
 (0)