Browse Source

Fix to work in Java 1.4. This was breaking the nightly build.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@411225 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 years ago
parent
commit
8718b15ecb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/org/apache/hadoop/fs/TestCopyFiles.java

+ 1 - 1
src/test/org/apache/hadoop/fs/TestCopyFiles.java

@@ -34,7 +34,7 @@ public class TestCopyFiles extends TestCase {
   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.