Browse Source

Make Jikes happy - shadowing of url

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277183 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
2b0c95d418
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/repository/HttpRepository.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/repository/HttpRepository.java View File

@@ -99,8 +99,8 @@ public abstract class HttpRepository extends Repository {
*/ */
public void setBaseDir(File basedir) { public void setBaseDir(File basedir) {
try { try {
URL url=basedir.toURL();
setUrl(url.toExternalForm());
URL u = basedir.toURL();
setUrl(u.toExternalForm());
} catch (MalformedURLException e) { } catch (MalformedURLException e) {
throw new BuildException(e); throw new BuildException(e);
} }


Loading…
Cancel
Save