hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r411225 - /lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java
Date Fri, 02 Jun 2006 18:24:11 GMT
Author: cutting
Date: Fri Jun  2 11:24:10 2006
New Revision: 411225

URL: http://svn.apache.org/viewvc?rev=411225&view=rev
Log:
Fix to work in Java 1.4.  This was breaking the nightly build.

Modified:
    lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java?rev=411225&r1=411224&r2=411225&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java Fri Jun  2 11:24:10
2006
@@ -34,7 +34,7 @@
   private static final int NFILES = 20;
   private static String TEST_ROOT_DIR =
     new Path(System.getProperty("test.build.data","/tmp"))
-    .toString().replace(" ","+");
+    .toString().replace(' ', '+');
 
   /** class MyFile contains enough information to recreate the contents of
    * a single file.



Mime
View raw message