git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278401 13f79535-47bb-0310-9956-ffa450edef68master
@@ -473,7 +473,7 @@ public class MacroDef extends AntlibDefinition { | |||||
/** | /** | ||||
* Get the default value for this attibute. | * 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 | * @return the generated name | ||||
*/ | */ | ||||
public String getDefault() { | public String getDefault() { | ||||
@@ -871,4 +871,4 @@ public class MacroDef extends AntlibDefinition { | |||||
return o.hashCode(); | return o.hashCode(); | ||||
} | } | ||||
} | } | ||||
} | |||||
} |
@@ -102,7 +102,7 @@ public class URLResource extends Resource { | |||||
/** | /** | ||||
* Set the resource name with which to expose a Java resource. | * Set the resource name with which to expose a Java resource. | ||||
* @param s the Java resource name. | * @param s the Java resource name. | ||||
* @see java.lang.ClassLoader#getResource() | |||||
* @see java.lang.ClassLoader#getResource(String) | |||||
*/ | */ | ||||
public synchronized void setJavaResource(String s) { | public synchronized void setJavaResource(String s) { | ||||
checkAttributesAllowed(); | checkAttributesAllowed(); | ||||
@@ -370,4 +370,4 @@ public class URLResource extends Resource { | |||||
} | } | ||||
} | } | ||||
} | |||||
} |
@@ -57,7 +57,7 @@ public class IdentityStack extends Stack { | |||||
/** | /** | ||||
* Override methods that use <code>.equals()</code> comparisons on elements. | * Override methods that use <code>.equals()</code> comparisons on elements. | ||||
* @param o the Object to search for. | * @param o the Object to search for. | ||||
* @see Vector#contains(Object) | |||||
* @see java.util.Vector#contains(Object) | |||||
*/ | */ | ||||
public synchronized boolean contains(Object o) { | public synchronized boolean contains(Object o) { | ||||
return indexOf(o) >= 0; | return indexOf(o) >= 0; | ||||
@@ -67,7 +67,7 @@ public class IdentityStack extends Stack { | |||||
* Override methods that use <code>.equals()</code> comparisons on elements. | * Override methods that use <code>.equals()</code> comparisons on elements. | ||||
* @param o the Object to search for. | * @param o the Object to search for. | ||||
* @param pos the position from which to search. | * @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) { | public synchronized int indexOf(Object o, int pos) { | ||||
for (int i = pos; i < size(); i++) | 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. | * Override methods that use <code>.equals()</code> comparisons on elements. | ||||
* @param o the Object to search for. | * @param o the Object to search for. | ||||
* @param pos the position from which to search (backward). | * @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) { | public synchronized int lastIndexOf(Object o, int pos) { | ||||
for (int i = pos; i >= 0; i--) | for (int i = pos; i >= 0; i--) | ||||
@@ -96,4 +96,3 @@ public class IdentityStack extends Stack { | |||||
} | } | ||||
} | } | ||||
@@ -45,7 +45,7 @@ public class ImplementationSpecificArgument extends Commandline.Argument { | |||||
/** | /** | ||||
* Return the parts this Argument consists of, if the | * Return the parts this Argument consists of, if the | ||||
* implementation matches the chosen implementation. | * 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. | * @param chosenImpl the implementation to check against. | ||||
* @return the parts if the implemention matches or an zero length | * @return the parts if the implemention matches or an zero length | ||||
* array if not. | * array if not. | ||||
@@ -57,4 +57,4 @@ public class ImplementationSpecificArgument extends Commandline.Argument { | |||||
return new String[0]; | return new String[0]; | ||||
} | } | ||||
} | } | ||||
} | |||||
} |