Browse Source

more JavaDoc happiness :-)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278401 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 20 years ago
parent
commit
2bd22a38ca
4 changed files with 9 additions and 10 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/MacroDef.java
  2. +2
    -2
      src/main/org/apache/tools/ant/types/resources/URLResource.java
  3. +3
    -4
      src/main/org/apache/tools/ant/util/IdentityStack.java
  4. +2
    -2
      src/main/org/apache/tools/ant/util/facade/ImplementationSpecificArgument.java

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

@@ -473,7 +473,7 @@ public class MacroDef extends AntlibDefinition {

/**
* Get the default value for this attibute.
* This returns the name "prefix#this classname#<a counter>.
* This returns the name "prefix#this classname#<aCounter>".
* @return the generated name
*/
public String getDefault() {
@@ -871,4 +871,4 @@ public class MacroDef extends AntlibDefinition {
return o.hashCode();
}
}
}
}

+ 2
- 2
src/main/org/apache/tools/ant/types/resources/URLResource.java View File

@@ -102,7 +102,7 @@ public class URLResource extends Resource {
/**
* Set the resource name with which to expose a Java resource.
* @param s the Java resource name.
* @see java.lang.ClassLoader#getResource()
* @see java.lang.ClassLoader#getResource(String)
*/
public synchronized void setJavaResource(String s) {
checkAttributesAllowed();
@@ -370,4 +370,4 @@ public class URLResource extends Resource {
}
}

}
}

+ 3
- 4
src/main/org/apache/tools/ant/util/IdentityStack.java View File

@@ -57,7 +57,7 @@ public class IdentityStack extends Stack {
/**
* Override methods that use <code>.equals()</code> comparisons on elements.
* @param o the Object to search for.
* @see Vector#contains(Object)
* @see java.util.Vector#contains(Object)
*/
public synchronized boolean contains(Object o) {
return indexOf(o) >= 0;
@@ -67,7 +67,7 @@ public class IdentityStack extends Stack {
* Override methods that use <code>.equals()</code> comparisons on elements.
* @param o the Object to search for.
* @param pos the position from which to search.
* @see Vector#indexOf(Object, int)
* @see java.util.Vector#indexOf(Object, int)
*/
public synchronized int indexOf(Object o, int pos) {
for (int i = pos; i < size(); i++)
@@ -83,7 +83,7 @@ public class IdentityStack extends Stack {
* Override methods that use <code>.equals()</code> comparisons on elements.
* @param o the Object to search for.
* @param pos the position from which to search (backward).
* @see Vector#indexOf(Object, int)
* @see java.util.Vector#indexOf(Object, int)
*/
public synchronized int lastIndexOf(Object o, int pos) {
for (int i = pos; i >= 0; i--)
@@ -96,4 +96,3 @@ public class IdentityStack extends Stack {
}

}


+ 2
- 2
src/main/org/apache/tools/ant/util/facade/ImplementationSpecificArgument.java View File

@@ -45,7 +45,7 @@ public class ImplementationSpecificArgument extends Commandline.Argument {
/**
* Return the parts this Argument consists of, if the
* implementation matches the chosen implementation.
* @see Commandline.Argument#getParts()
* @see org.apache.tools.ant.types.Commandline.Argument#getParts()
* @param chosenImpl the implementation to check against.
* @return the parts if the implemention matches or an zero length
* array if not.
@@ -57,4 +57,4 @@ public class ImplementationSpecificArgument extends Commandline.Argument {
return new String[0];
}
}
}
}

Loading…
Cancel
Save