Explorar o código

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 %!s(int64=19) %!d(string=hai) anos
pai
achega
8718b15ecb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.