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