Browse Source

ws consistency

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090319 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 14 years ago
parent
commit
a1b00e5c63
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      src/main/org/apache/tools/ant/taskdefs/Antlib.java

+ 4
- 5
src/main/org/apache/tools/ant/taskdefs/Antlib.java View File

@@ -57,7 +57,7 @@ public class Antlib extends Task implements TaskContainer {
* @param project the current project * @param project the current project
* @param antlibUrl the url to read the definitions from * @param antlibUrl the url to read the definitions from
* @param uri the uri that the antlib is to be placed in * @param uri the uri that the antlib is to be placed in
* @return the ant lib task
* @return the ant lib task
*/ */
public static Antlib createAntlib(Project project, URL antlibUrl, public static Antlib createAntlib(Project project, URL antlibUrl,
String uri) { String uri) {
@@ -108,13 +108,12 @@ public class Antlib extends Task implements TaskContainer {
} }
} }



// //
// Instance // Instance
// //
private ClassLoader classLoader; private ClassLoader classLoader;
private String uri = "";
private List tasks = new ArrayList();
private String uri = "";
private List tasks = new ArrayList();


/** /**
* Set the class loader for this antlib. * Set the class loader for this antlib.
@@ -131,7 +130,7 @@ public class Antlib extends Task implements TaskContainer {
* Set the URI for this antlib. * Set the URI for this antlib.
* @param uri the namespace uri * @param uri the namespace uri
*/ */
protected void setURI(String uri) {
protected void setURI(String uri) {
this.uri = uri; this.uri = uri;
} }




Loading…
Cancel
Save