commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1468706 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Date Wed, 17 Apr 2013 01:31:24 GMT
Author: sebb
Date: Wed Apr 17 01:31:23 2013
New Revision: 1468706

URL: http://svn.apache.org/r1468706
Log:
Javadoc: better method available when using Java 1.7+

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=1468706&r1=1468705&r2=1468706&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 Apr 17
01:31:23 2013
@@ -2974,7 +2974,10 @@ public class FileUtils {
      * <p>
      * <b>Note:</b> the current implementation always returns {@code false} if
the system
      * is detected as Windows using {@link FilenameUtils#isSystemWindows()}
-     * 
+     * <p>
+     * For code that runs on Java 1.7 or later, use the following method instead:
+     * <br>
+     * {@code boolean java.nio.file.Files.isSymbolicLink(Path path)}
      * @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