hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r440444 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/conf/Configuration.java
Date Tue, 05 Sep 2006 19:11:04 GMT
Author: cutting
Date: Tue Sep  5 12:11:03 2006
New Revision: 440444

URL: http://svn.apache.org/viewvc?view=rev&rev=440444
Log:
HADOOP-501.  Fix Configuration.toString() to handle URL resources.  Contributed by Thomas
Friol.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=440444&r1=440443&r2=440444
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue Sep  5 12:11:03 2006
@@ -107,6 +107,9 @@
 26. HADOOP-196.  Fix Configuration(Configuration) constructor to work
     correctly.  (Sami Siren via cutting)
 
+27. HADOOP-501.  Fix Configuration.toString() to handle URL resources.
+    (Thomas Friol via cutting)
+
 
 Release 0.5.0 - 2006-08-04
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java?view=diff&rev=440444&r1=440443&r2=440444
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java Tue Sep  5 12:11:03
2006
@@ -625,12 +625,7 @@
       if (i.nextIndex() != 0) {
         sb.append(" , ");
       }
-      Object obj = i.next();
-      if (obj instanceof Path) {
-        sb.append((Path)obj);
-      } else {
-        sb.append((String)obj);
-      }
+      sb.append(i.next());
     }
   }
 



Mime
View raw message