Browse Source

typeo use use -> use

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275068 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 22 years ago
parent
commit
8213ae861c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/DefBase.java
  2. +1
    -1
      src/testcases/org/apache/tools/ant/taskdefs/XmlnsTest.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/DefBase.java View File

@@ -94,7 +94,7 @@ public abstract class DefBase extends Task implements AntlibInterface {
uri = "";
}
if (uri.startsWith("ant:") && !uri.startsWith("antlib:")) {
throw new BuildException("Attempt to use use a reserved URI " + uri);
throw new BuildException("Attempt to use a reserved URI " + uri);
}
this.uri = uri;
}


+ 1
- 1
src/testcases/org/apache/tools/ant/taskdefs/XmlnsTest.java View File

@@ -85,7 +85,7 @@ public class XmlnsTest extends BuildFileTest {
public void testExcluded() {
expectBuildExceptionContaining(
"excluded", "excluded uri",
"Attempt to use use a reserved URI ant:notallowed");
"Attempt to use a reserved URI ant:notallowed");
}

public static class MyTask extends Task {


Loading…
Cancel
Save