Browse Source

HADOOP-7736. Remove duplicate Path#normalizePath call.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1182214 13f79535-47bb-0310-9956-ffa450edef68
Harsh J 13 years ago
parent
commit
68328e29be

+ 2 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -30,6 +30,8 @@ Trunk (unreleased changes)
     HADOOP-7717. Move handling of concurrent client fail-overs to
                  RetryInvocationHandler (atm)
 
+    HADOOP-7736. Remove duplicate Path#normalizePath call. (harsh)
+
   BUGS
 
     HADOOP-7606. Upgrade Jackson to version 1.7.1 to match the version required

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Path.java

@@ -77,7 +77,7 @@ public class Path implements Comparable {
       }
     URI resolved = parentUri.resolve(child.uri);
     initialize(resolved.getScheme(), resolved.getAuthority(),
-               normalizePath(resolved.getPath()), resolved.getFragment());
+               resolved.getPath(), resolved.getFragment());
   }
 
   private void checkPathArg( String path ) {