commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1300451 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Date Wed, 14 Mar 2012 03:06:09 GMT
Author: sebb
Date: Wed Mar 14 03:06:08 2012
New Revision: 1300451

URL: http://svn.apache.org/viewvc?rev=1300451&view=rev
Log:
Document current Windows behaviour.

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1300451&r1=1300450&r2=1300451&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java Wed Mar 14
03:06:08 2012
@@ -2651,7 +2651,10 @@ public class FileUtils {
      * <p>
      * Will not return true if there is a Symbolic Link anywhere in the path,
      * only if the specific file is.
-     *
+     * <p>
+     * <b>Note:</b> the current implementation always returns {@code false} if
the system
+     * is detected as Windows using {@link FilenameUtils#isSystemWindows()}
+     * 
      * @param file the file to check
      * @return true if the file is a Symbolic Link
      * @throws IOException if an IO error occurs while checking the file



Mime
View raw message