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
This commit is contained in:
Harsh J 2011-10-12 06:20:23 +00:00
parent 532872bf74
commit 68328e29be
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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 ) {