diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/vfs/RootedPath.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/RootedPath.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/RootedPath.java b/src/main/java/com/google/devtools/build/lib/vfs/RootedPath.java index 9182f10c0f..09ab3139a4 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/RootedPath.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/RootedPath.java @@ -30,9 +30,8 @@ import java.util.Objects; * <p>Two {@link RootedPath}s are considered equal iff they have equal roots and equal relative * paths. * - * <p>TODO(bazel-team): refactor Artifact to use this instead of Root. TODO(bazel-team): use an - * opaque root representation so as to not expose the absolute path to clients via #asPath or - * #getRoot. + * <p>TODO(bazel-team): use an opaque root representation so as to not expose the absolute path to + * clients via #asPath or #getRoot. */ public class RootedPath implements Serializable { @@ -48,7 +47,7 @@ public class RootedPath implements Serializable { rootRelativePath, root); this.root = root; - this.rootRelativePath = rootRelativePath.normalize(); + this.rootRelativePath = rootRelativePath; this.path = root.getRelative(this.rootRelativePath); } |