Repository: ant-ivy Updated Branches: refs/heads/master 5d22644c7 -> 041e9565a
IVY-1522 Don't randomly strip off the path's starting character Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/041e9565 Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/041e9565 Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/041e9565 Branch: refs/heads/master Commit: 041e9565ab8b187ad0b88780a5fc0a5ea24f29a1 Parents: 5d22644 Author: Jaikiran Pai <[email protected]> Authored: Mon Jun 26 20:49:19 2017 +0530 Committer: Jaikiran Pai <[email protected]> Committed: Mon Jun 26 21:19:57 2017 +0530 ---------------------------------------------------------------------- src/java/org/apache/ivy/util/FileUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/041e9565/src/java/org/apache/ivy/util/FileUtil.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/ivy/util/FileUtil.java b/src/java/org/apache/ivy/util/FileUtil.java index 6df726c..d78afee 100644 --- a/src/java/org/apache/ivy/util/FileUtil.java +++ b/src/java/org/apache/ivy/util/FileUtil.java @@ -618,7 +618,7 @@ public final class FileUtil { return new DissectedPath(root, rest); } - return new DissectedPath(File.separator, pathToDissect.substring(1)); + return new DissectedPath(File.separator, pathToDissect); } /**
