Repository: ant Updated Branches: refs/heads/master 2ec41afdc -> 966708a29
fix off by one error found by Matt Benson Project: http://git-wip-us.apache.org/repos/asf/ant/repo Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/e293c7a2 Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/e293c7a2 Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/e293c7a2 Branch: refs/heads/master Commit: e293c7a29c9dea995dea2868b9cb2f53b5b304e0 Parents: 5347475 Author: Stefan Bodewig <[email protected]> Authored: Fri Apr 21 21:35:46 2017 +0200 Committer: Stefan Bodewig <[email protected]> Committed: Fri Apr 21 21:35:46 2017 +0200 ---------------------------------------------------------------------- src/main/org/apache/tools/ant/helper/ProjectHelper2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ant/blob/e293c7a2/src/main/org/apache/tools/ant/helper/ProjectHelper2.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/ant/helper/ProjectHelper2.java b/src/main/org/apache/tools/ant/helper/ProjectHelper2.java index 67e1dec..2e9c725 100644 --- a/src/main/org/apache/tools/ant/helper/ProjectHelper2.java +++ b/src/main/org/apache/tools/ant/helper/ProjectHelper2.java @@ -256,7 +256,7 @@ public class ProjectHelper2 extends ProjectHelper { zf = new ZipFile(org.apache.tools.ant.launch.Locator .fromJarURI(uri), "UTF-8"); inputStream = - zf.getInputStream(zf.getEntry(uri.substring(pling + 1))); + zf.getInputStream(zf.getEntry(uri.substring(pling + 2))); } else { URLConnection conn = url.openConnection(); conn.setUseCaches(false);
