hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r541754 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/fs/FileSystem.java
Date Fri, 25 May 2007 19:30:52 GMT
Author: cutting
Date: Fri May 25 12:30:51 2007
New Revision: 541754

URL: http://svn.apache.org/viewvc?view=rev&rev=541754
Log:
HADOOP-1435.  Fix globbing code to no longer use the empty string to indicate the default
directory, per HADOOP-1386.  Contributed by Hairong.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=541754&r1=541753&r2=541754
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri May 25 12:30:51 2007
@@ -491,6 +491,10 @@
 126. HADOOP-1427.  Fix a typo that caused GzipCodec to incorrectly use
      a very small input buffer.  (Espen Amble Kolstad via cutting)
 
+127. HADOOP-1435.  Fix globbing code to no longer use the empty string
+     to indicate the default directory, per HADOOP-1386.
+     (Hairong Kuang via cutting)
+
 
 Release 0.12.3 - 2007-04-06
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java?view=diff&rev=541754&r1=541753&r2=541754
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FileSystem.java Fri May 25 12:30:51
2007
@@ -558,7 +558,7 @@
       parents[0] = new Path(Path.SEPARATOR);
       level = 1;
     } else {
-      parents[0] = new Path("");
+      parents[0] = new Path(Path.CUR_DIR);
     }
       
     Path[] results = globPathsLevel(parents, components, level, filter);



Mime
View raw message