You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2005/10/20 21:29:31 UTC

svn commit: r326982 - /lucene/nutch/branches/mapred/src/java/org/apache/nutch/fs/FileUtil.java

Author: cutting
Date: Thu Oct 20 12:29:27 2005
New Revision: 326982

URL: http://svn.apache.org/viewcvs?rev=326982&view=rev
Log:
Use raw list, so that crc's are copied too.

Modified:
    lucene/nutch/branches/mapred/src/java/org/apache/nutch/fs/FileUtil.java

Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/fs/FileUtil.java
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/fs/FileUtil.java?rev=326982&r1=326981&r2=326982&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/fs/FileUtil.java (original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/fs/FileUtil.java Thu Oct 20 12:29:27 2005
@@ -73,7 +73,7 @@
             }
         } else {
             nfs.mkdirs(dst);
-            File contents[] = nfs.listFiles(src);
+            File contents[] = nfs.listFilesRaw(src);
             if (contents != null) {
                 for (int i = 0; i < contents.length; i++) {
                     File newDst = new File(dst, contents[i].getName());