commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1100516 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Date Sat, 07 May 2011 12:10:04 GMT
Author: sebb
Date: Sat May  7 12:10:04 2011
New Revision: 1100516

URL: http://svn.apache.org/viewvc?rev=1100516&view=rev
Log:
Fix comment

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=1100516&r1=1100515&r2=1100516&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 Sat May  7
12:10:04 2011
@@ -1141,7 +1141,7 @@ public class FileUtils {
             boolean preserveFileDate, List<String> exclusionList) throws IOException
{
         // recurse
         File[] files = filter == null ? srcDir.listFiles() : srcDir.listFiles(filter);
-        if (files == null) {  // null if security restricted
+        if (files == null) {  // null if abstract pathname does not denote a directory, or
if an I/O error occurs
             throw new IOException("Failed to list contents of " + srcDir);
         }
         if (destDir.exists()) {



Mime
View raw message