You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cu...@apache.org on 2006/06/02 20:24:11 UTC

svn commit: r411225 - /lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java

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.