-- api -- git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68master
@@ -15,7 +15,7 @@ Fixed bugs: | |||||
Bugzilla Reports 52738, 52740, 52742, 52743. | Bugzilla Reports 52738, 52740, 52742, 52743. | ||||
* Updated documentation to fix spelling errors / broken links. | * Updated documentation to fix spelling errors / broken links. | ||||
Bugzilla Reports 53215, 53291 (excluding api) | |||||
Bugzilla Reports 53215, 53291 | |||||
Other changes: | Other changes: | ||||
-------------- | -------------- | ||||
@@ -25,7 +25,7 @@ import java.lang.reflect.Constructor; | |||||
/** | /** | ||||
* This class contains all the information | * This class contains all the information | ||||
* on a particular ant type, | * on a particular ant type, | ||||
* the classname, adaptor and the class | |||||
* the classname, adapter and the class | |||||
* it should be assignable from. | * it should be assignable from. | ||||
* This type replaces the task/datatype split | * This type replaces the task/datatype split | ||||
* of pre ant 1.6. | * of pre ant 1.6. | ||||
@@ -239,7 +239,7 @@ public class AntTypeDefinition { | |||||
* <dl> | * <dl> | ||||
* <li>if the class can be created.</li> | * <li>if the class can be created.</li> | ||||
* <li>if an adapter class can be created</li> | * <li>if an adapter class can be created</li> | ||||
* <li>if the type is assignable from adapto</li> | |||||
* <li>if the type is assignable from adapter</li> | |||||
* <li>if the type can be used with the adapter class</li> | * <li>if the type can be used with the adapter class</li> | ||||
* </dl> | * </dl> | ||||
* @param project the current project. | * @param project the current project. | ||||
@@ -302,7 +302,7 @@ public class AntTypeDefinition { | |||||
* @param newclass class to create | * @param newclass class to create | ||||
* @param project the project to use | * @param project the project to use | ||||
* @return a newly constructed and bound instance. | * @return a newly constructed and bound instance. | ||||
* @throws NoSuchMethodException no good construtor. | |||||
* @throws NoSuchMethodException no good constructor. | |||||
* @throws InstantiationException cannot initialize the object. | * @throws InstantiationException cannot initialize the object. | ||||
* @throws IllegalAccessException cannot access the object. | * @throws IllegalAccessException cannot access the object. | ||||
* @throws InvocationTargetException error in invocation. | * @throws InvocationTargetException error in invocation. | ||||
@@ -389,7 +389,7 @@ public class ComponentHelper { | |||||
/** | /** | ||||
* Returns the current task definition hashtable. The returned hashtable is | * Returns the current task definition hashtable. The returned hashtable is | ||||
* "live" and so should not be modified. Also, the returned table may be | * "live" and so should not be modified. Also, the returned table may be | ||||
* modifed asynchronously. | |||||
* modified asynchronously. | |||||
* | * | ||||
* @return a map of from task name to implementing class | * @return a map of from task name to implementing class | ||||
* (String to Class). | * (String to Class). | ||||
@@ -448,7 +448,7 @@ public class ComponentHelper { | |||||
/** | /** | ||||
* This returns a list of restricted definitions for a name. | * This returns a list of restricted definitions for a name. | ||||
* The returned List is "live" and so should not be modified. | * The returned List is "live" and so should not be modified. | ||||
* Also, the returned list may be modifed asynchronously. | |||||
* Also, the returned list may be modified asynchronously. | |||||
* Any access must be guarded with a lock on the list itself. | * Any access must be guarded with a lock on the list itself. | ||||
* | * | ||||
* @param componentName the name to use. | * @param componentName the name to use. | ||||
@@ -207,7 +207,7 @@ public class ProjectHelper { | |||||
/** | /** | ||||
* The separator between the prefix and the target name. | * The separator between the prefix and the target name. | ||||
* | * | ||||
* <p>May be set by <import>'s prefixSeperator attribute.</p> | |||||
* <p>May be set by <import>'s prefixSeparator attribute.</p> | |||||
* | * | ||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
*/ | */ | ||||
@@ -484,7 +484,7 @@ public class ProjectHelper { | |||||
* For BC purposes the names from the ant core uri will be | * For BC purposes the names from the ant core uri will be | ||||
* mapped to "name", other names will be mapped to | * mapped to "name", other names will be mapped to | ||||
* uri + ":" + name. | * uri + ":" + name. | ||||
* @param uri The namepace URI | |||||
* @param uri The namespace URI | |||||
* @param name The localname | * @param name The localname | ||||
* @return The stringified form of the ns name | * @return The stringified form of the ns name | ||||
*/ | */ | ||||
@@ -200,7 +200,7 @@ public final class FixCrLfFilter extends BaseParamFilterReader implements Chaina | |||||
* Get whether the stream is to be treated as though it contains Java | * Get whether the stream is to be treated as though it contains Java | ||||
* source. | * source. | ||||
* <P> | * <P> | ||||
* This attribute is only used in assocation with the "<i><b>tab</b></i>" | |||||
* This attribute is only used in association with the "<i><b>tab</b></i>" | |||||
* attribute. Tabs found in Java literals are protected from changes by this | * attribute. Tabs found in Java literals are protected from changes by this | ||||
* filter. | * filter. | ||||
* | * | ||||
@@ -84,7 +84,7 @@ import org.apache.tools.ant.types.Parameter; | |||||
* Sort all files <code>*.txt</code> from <i>src</i> location using as | * Sort all files <code>*.txt</code> from <i>src</i> location using as | ||||
* sorting criterium <code>EvenFirstCmp</code> class, that sorts the file | * sorting criterium <code>EvenFirstCmp</code> class, that sorts the file | ||||
* lines putting even lines first then odd lines for example. The modified files | * lines putting even lines first then odd lines for example. The modified files | ||||
* are copied into <i>build</i> location. The <code>EventFirstCmp</code>, | |||||
* are copied into <i>build</i> location. The <code>EvenFirstCmp</code>, | |||||
* has to an instanciable class via <code>Class.newInstance()</code>, | * has to an instanciable class via <code>Class.newInstance()</code>, | ||||
* therefore in case of inner class has to be <em>static</em>. It also has to | * therefore in case of inner class has to be <em>static</em>. It also has to | ||||
* implement <code>java.util.Comparator</code> interface, for example: | * implement <code>java.util.Comparator</code> interface, for example: | ||||
@@ -26,7 +26,7 @@ import org.apache.tools.ant.types.Parameter; | |||||
* | * | ||||
* Example: | * Example: | ||||
* | * | ||||
* <pre><tabtospaces tablength="8"/></pre> | |||||
* <pre><tabstospaces tablength="8"/></pre> | |||||
* | * | ||||
* Or: | * Or: | ||||
* | * | ||||
@@ -652,7 +652,7 @@ public class ProjectHelper2 extends ProjectHelper { | |||||
} | } | ||||
/** | /** | ||||
* End a namepace prefix to uri mapping | |||||
* End a namespace prefix to uri mapping | |||||
* | * | ||||
* @param prefix the prefix that is not mapped anymore | * @param prefix the prefix that is not mapped anymore | ||||
*/ | */ | ||||
@@ -46,9 +46,9 @@ import org.apache.tools.mail.MailMessage; | |||||
* <ul> | * <ul> | ||||
* <li> MailLogger.mailhost [default: localhost] - Mail server to use</li> | * <li> MailLogger.mailhost [default: localhost] - Mail server to use</li> | ||||
* <li> MailLogger.port [default: 25] - Default port for SMTP </li> | * <li> MailLogger.port [default: 25] - Default port for SMTP </li> | ||||
* <li> Maillogger.user [no default] - user name for SMPT auth | |||||
* <li> Maillogger.user [no default] - user name for SMTP auth | |||||
* (requires JavaMail)</li> | * (requires JavaMail)</li> | ||||
* <li> Maillogger.password [no default] - password for SMPT auth | |||||
* <li> Maillogger.password [no default] - password for SMTP auth | |||||
* (requires JavaMail)</li> | * (requires JavaMail)</li> | ||||
* <li> Maillogger.ssl [default: false] - on or true if ssl is | * <li> Maillogger.ssl [default: false] - on or true if ssl is | ||||
* needed (requires JavaMail)</li> | * needed (requires JavaMail)</li> | ||||
@@ -32,7 +32,7 @@ public class LocalProperties | |||||
/** | /** | ||||
* Get a localproperties for the given project. | * Get a localproperties for the given project. | ||||
* @param project the project to retieve the localproperties for. | |||||
* @param project the project to retrieve the localproperties for. | |||||
* @return the localproperties. | * @return the localproperties. | ||||
*/ | */ | ||||
public static synchronized LocalProperties get(Project project) { | public static synchronized LocalProperties get(Project project) { | ||||
@@ -41,7 +41,7 @@ public class LocalPropertyStack { | |||||
/** | /** | ||||
* Add a local property. | * Add a local property. | ||||
* @param property the name of the local proeprty. | |||||
* @param property the name of the local property. | |||||
*/ | */ | ||||
public void addLocal(String property) { | public void addLocal(String property) { | ||||
if (!stack.isEmpty()) { | if (!stack.isEmpty()) { | ||||
@@ -257,7 +257,7 @@ public class Ant extends Task { | |||||
/** | /** | ||||
* Handles input. | * Handles input. | ||||
* Deleate to the created project, if present, otherwise | |||||
* Delegate to the created project, if present, otherwise | |||||
* call the super class. | * call the super class. | ||||
* @param buffer the buffer into which data is to be read. | * @param buffer the buffer into which data is to be read. | ||||
* @param offset the offset into the buffer at which data is stored. | * @param offset the offset into the buffer at which data is stored. | ||||
@@ -55,7 +55,7 @@ public class AntlibDefinition extends Task { | |||||
/** | /** | ||||
* The URI for this definition. | * The URI for this definition. | ||||
* @return The URI for this defintion. | |||||
* @return The URI for this definition. | |||||
*/ | */ | ||||
public String getURI() { | public String getURI() { | ||||
return uri; | return uri; | ||||
@@ -104,7 +104,7 @@ public class Apt | |||||
} | } | ||||
/** | /** | ||||
* Construtor for Apt task. | |||||
* Constructor for Apt task. | |||||
* This sets the apt compiler adapter as the compiler in the super class. | * This sets the apt compiler adapter as the compiler in the super class. | ||||
*/ | */ | ||||
public Apt() { | public Apt() { | ||||
@@ -60,7 +60,7 @@ public class Available extends Task implements Condition { | |||||
* Set the searchParents attribute. | * Set the searchParents attribute. | ||||
* This controls the behaviour of the the "file" type. | * This controls the behaviour of the the "file" type. | ||||
* If true, the path, parent path and grandparent path are | * If true, the path, parent path and grandparent path are | ||||
* searched for the file. If false, only the path is seached. | |||||
* searched for the file. If false, only the path is searched. | |||||
* The default value is false. | * The default value is false. | ||||
* @param searchParents the value to set. | * @param searchParents the value to set. | ||||
*/ | */ | ||||
@@ -184,7 +184,7 @@ public class CallTarget extends Task { | |||||
/** | /** | ||||
* Handles input. | * Handles input. | ||||
* Deleate to the created project, if present, otherwise | |||||
* Delegate to the created project, if present, otherwise | |||||
* call the super class. | * call the super class. | ||||
* @param buffer the buffer into which data is to be read. | * @param buffer the buffer into which data is to be read. | ||||
* @param offset the offset into the buffer at which data is stored. | * @param offset the offset into the buffer at which data is stored. | ||||
@@ -19,9 +19,9 @@ | |||||
package org.apache.tools.ant.taskdefs; | package org.apache.tools.ant.taskdefs; | ||||
/** | /** | ||||
* Adds a compenent definition to the current project. | |||||
* Adds a component definition to the current project. | |||||
* used in the current project. Two attributes are needed, the name that identifies | * used in the current project. Two attributes are needed, the name that identifies | ||||
* this compenent uniquely, and the full name of the class ( | |||||
* this component uniquely, and the full name of the class ( | |||||
* including the packages) that | * including the packages) that | ||||
* implements this component.</p> | * implements this component.</p> | ||||
* @since Ant 1.8 | * @since Ant 1.8 | ||||
@@ -159,7 +159,7 @@ public class CopyPath extends Task { | |||||
} | } | ||||
/** | /** | ||||
* This is a very minimal derivative of the nomal copy logic. | |||||
* This is a very minimal derivative of the normal copy logic. | |||||
* | * | ||||
* @throws BuildException | * @throws BuildException | ||||
* if something goes wrong with the build. | * if something goes wrong with the build. | ||||
@@ -568,7 +568,7 @@ public abstract class Definer extends DefBase { | |||||
* used by derived classes, used instead of | * used by derived classes, used instead of | ||||
* the adaptTo attribute. | * the adaptTo attribute. | ||||
* | * | ||||
* @param adaptToClass the class for adapto. | |||||
* @param adaptToClass the class for adaptor. | |||||
*/ | */ | ||||
protected void setAdaptToClass(Class adaptToClass) { | protected void setAdaptToClass(Class adaptToClass) { | ||||
this.adaptToClass = adaptToClass; | this.adaptToClass = adaptToClass; | ||||
@@ -442,7 +442,7 @@ public class Get extends Task { | |||||
/** | /** | ||||
* Interface implemented for reporting | * Interface implemented for reporting | ||||
* progess of downloading. | |||||
* progress of downloading. | |||||
*/ | */ | ||||
public interface DownloadProgress { | public interface DownloadProgress { | ||||
/** | /** | ||||
@@ -93,7 +93,7 @@ public class HostInfo extends Task { | |||||
* | * | ||||
* @param aHost | * @param aHost | ||||
* the name or the address of the host, data for the local host | * the name or the address of the host, data for the local host | ||||
* will be retrieved if ommited. | |||||
* will be retrieved if omitted. | |||||
* @since Ant 1.8 | * @since Ant 1.8 | ||||
*/ | */ | ||||
public void setHost(String aHost) { | public void setHost(String aHost) { | ||||
@@ -72,10 +72,10 @@ public class SQLExampleTask extends JDBCTask { | |||||
} finally { | } finally { | ||||
if (stmt != null) { | if (stmt != null) { | ||||
try {stmt.close();}catch (SQLException ingore) {} | |||||
try {stmt.close();}catch (SQLException ignore) {} | |||||
} | } | ||||
if (conn != null) { | if (conn != null) { | ||||
try {conn.close();}catch (SQLException ingore) {} | |||||
try {conn.close();}catch (SQLException ignore) {} | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -354,7 +354,7 @@ public class Java extends Task { | |||||
/** | /** | ||||
* If set, system properties will be copied to the cloned VM--as | * If set, system properties will be copied to the cloned VM--as | ||||
* well as the bootclasspath unless you have explicitly specified | * well as the bootclasspath unless you have explicitly specified | ||||
* a bootclaspath. | |||||
* a bootclasspath. | |||||
* | * | ||||
* <p>Doesn't have any effect unless fork is true.</p> | * <p>Doesn't have any effect unless fork is true.</p> | ||||
* @param cloneVm if true copy system properties. | * @param cloneVm if true copy system properties. | ||||
@@ -863,7 +863,7 @@ public class Javac extends MatchingTask { | |||||
/** | /** | ||||
* Get the result of the javac task (success or failure). | * Get the result of the javac task (success or failure). | ||||
* @return true if compilation succeeded, or | * @return true if compilation succeeded, or | ||||
* was not neccessary, false if the compilation failed. | |||||
* was not necessary, false if the compilation failed. | |||||
*/ | */ | ||||
public boolean getTaskSuccess() { | public boolean getTaskSuccess() { | ||||
return taskSuccess; | return taskSuccess; | ||||
@@ -1061,7 +1061,7 @@ public class Javadoc extends Task { | |||||
} | } | ||||
/** | /** | ||||
* Control deprecation infromation | |||||
* Control deprecation information | |||||
* | * | ||||
* @param b If true, do not include deprecated information. | * @param b If true, do not include deprecated information. | ||||
*/ | */ | ||||
@@ -1184,7 +1184,7 @@ public class Javadoc extends Task { | |||||
private URL packagelistURL; | private URL packagelistURL; | ||||
private boolean resolveLink = false; | private boolean resolveLink = false; | ||||
/** Constructor for LinkArguement */ | |||||
/** Constructor for LinkArgument */ | |||||
public LinkArgument() { | public LinkArgument() { | ||||
//empty | //empty | ||||
} | } | ||||
@@ -1497,14 +1497,14 @@ public class Javadoc extends Task { | |||||
} | } | ||||
/** | /** | ||||
* Add a package nested element. | * Add a package nested element. | ||||
* @param pn a nested element specifing the package. | |||||
* @param pn a nested element specifying the package. | |||||
*/ | */ | ||||
public void addPackage(PackageName pn) { | public void addPackage(PackageName pn) { | ||||
packages.addElement(pn); | packages.addElement(pn); | ||||
} | } | ||||
/** | /** | ||||
* Get the packages as a collon separated list. | |||||
* Get the packages as a colon separated list. | |||||
* @return the packages as a string | * @return the packages as a string | ||||
*/ | */ | ||||
public String getPackages() { | public String getPackages() { | ||||
@@ -426,7 +426,7 @@ public abstract class MatchingTask extends Task implements SelectorContainer { | |||||
} | } | ||||
/** | /** | ||||
* add an arbitary selector | |||||
* add an arbitrary selector | |||||
* @param selector the selector to add | * @param selector the selector to add | ||||
* @since Ant 1.6 | * @since Ant 1.6 | ||||
*/ | */ | ||||
@@ -198,7 +198,7 @@ public class Recorder extends Task implements SubBuildListener { | |||||
/** | /** | ||||
* Gets the recorder that's associated with the passed in name. If the | * Gets the recorder that's associated with the passed in name. If the | ||||
* recorder doesn't exist, then a new one is created. | * recorder doesn't exist, then a new one is created. | ||||
* @param name the name of the recoder | |||||
* @param name the name of the recorder | |||||
* @param proj the current project | * @param proj the current project | ||||
* @return a recorder | * @return a recorder | ||||
* @throws BuildException on error | * @throws BuildException on error | ||||
@@ -66,7 +66,7 @@ public class Retry extends Task implements TaskContainer { | |||||
} | } | ||||
/** | /** | ||||
* set the delay between retries (in miliseconds) | |||||
* set the delay between retries (in milliseconds) | |||||
* @param n the time between retries. | * @param n the time between retries. | ||||
* @since Ant 1.8.3 | * @since Ant 1.8.3 | ||||
*/ | */ | ||||
@@ -486,7 +486,7 @@ public class Rmic extends MatchingTask { | |||||
* Sets the compiler implementation to use; optional, | * Sets the compiler implementation to use; optional, | ||||
* defaults to the value of the <code>build.rmic</code> property, | * defaults to the value of the <code>build.rmic</code> property, | ||||
* or failing that, default compiler for the current VM | * or failing that, default compiler for the current VM | ||||
* @param compiler the compiler implemention to use | |||||
* @param compiler the compiler implementation to use | |||||
* @since Ant 1.5 | * @since Ant 1.5 | ||||
*/ | */ | ||||
public void setCompiler(String compiler) { | public void setCompiler(String compiler) { | ||||
@@ -204,7 +204,7 @@ public class SQLExec extends JDBCTask { | |||||
private boolean rawBlobs; | private boolean rawBlobs; | ||||
/** | /** | ||||
* delimers must match in case and whitespace is significant. | |||||
* delimiters must match in case and whitespace is significant. | |||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
*/ | */ | ||||
private boolean strictDelimiterMatching = true; | private boolean strictDelimiterMatching = true; | ||||
@@ -245,7 +245,7 @@ public class SQLExec extends JDBCTask { | |||||
private String csvQuoteChar = null; | private String csvQuoteChar = null; | ||||
/** | /** | ||||
* Whether a warning is an error - in which case onError aplies. | |||||
* Whether a warning is an error - in which case onError applies. | |||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
*/ | */ | ||||
private boolean treatWarningsAsErrors = false; | private boolean treatWarningsAsErrors = false; | ||||
@@ -478,9 +478,9 @@ public class SQLExec extends JDBCTask { | |||||
} | } | ||||
/** | /** | ||||
* If false, delimiters will be searched for in a case-insesitive | |||||
* manner (i.e. delimer="go" matches "GO") and surrounding | |||||
* whitespace will be ignored (delimter="go" matches "GO "). | |||||
* If false, delimiters will be searched for in a case-insensitive | |||||
* manner (i.e. delimiter="go" matches "GO") and surrounding | |||||
* whitespace will be ignored (delimiter="go" matches "GO "). | |||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
*/ | */ | ||||
public void setStrictDelimiterMatching(boolean b) { | public void setStrictDelimiterMatching(boolean b) { | ||||
@@ -496,7 +496,7 @@ public class SQLExec extends JDBCTask { | |||||
} | } | ||||
/** | /** | ||||
* Whether a warning is an error - in which case onError aplies. | |||||
* Whether a warning is an error - in which case onError applies. | |||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
*/ | */ | ||||
public void setTreatWarningsAsErrors(boolean b) { | public void setTreatWarningsAsErrors(boolean b) { | ||||
@@ -454,7 +454,7 @@ public class SubAnt extends Task { | |||||
/** | /** | ||||
* Corresponds to <code><ant></code>'s | * Corresponds to <code><ant></code>'s | ||||
* nested <code><propertyset></code> element. | * nested <code><propertyset></code> element. | ||||
* @param ps the propertset | |||||
* @param ps the propertyset | |||||
*/ | */ | ||||
public void addPropertyset(PropertySet ps) { | public void addPropertyset(PropertySet ps) { | ||||
propertySets.addElement(ps); | propertySets.addElement(ps); | ||||
@@ -46,7 +46,7 @@ import org.apache.tools.ant.types.EnumeratedAttribute; | |||||
* The maxwaitunit and checkeveryunit are allowed to have the following values: | * The maxwaitunit and checkeveryunit are allowed to have the following values: | ||||
* millisecond, second, minute, hour, day and week. The default is millisecond. | * millisecond, second, minute, hour, day and week. The default is millisecond. | ||||
* | * | ||||
* For programmatic use/subclassing, there are two methods that may be overrridden, | |||||
* For programmatic use/subclassing, there are two methods that may be overridden, | |||||
* <code>processSuccess</code> and <code>processTimeout</code> | * <code>processSuccess</code> and <code>processTimeout</code> | ||||
* @since Ant 1.5 | * @since Ant 1.5 | ||||
* | * | ||||
@@ -188,7 +188,7 @@ public class WaitFor extends ConditionBase { | |||||
} | } | ||||
/** | /** | ||||
* Get the maxiumum wait time, in milliseconds. | |||||
* Get the maximum wait time, in milliseconds. | |||||
* @since Ant 1.8 | * @since Ant 1.8 | ||||
* @return how long to wait before timing out | * @return how long to wait before timing out | ||||
*/ | */ | ||||
@@ -26,7 +26,7 @@ package org.apache.tools.ant.taskdefs; | |||||
*/ | */ | ||||
public interface XSLTLiaison2 extends XSLTLiaison { | public interface XSLTLiaison2 extends XSLTLiaison { | ||||
/** | /** | ||||
* Configure the liasion from the XSLTProcess task | |||||
* Configure the liaision from the XSLTProcess task | |||||
* @param xsltTask the XSLTProcess task | * @param xsltTask the XSLTProcess task | ||||
*/ | */ | ||||
void configure(XSLTProcess xsltTask); | void configure(XSLTProcess xsltTask); | ||||
@@ -90,7 +90,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
/** Classpath to use when trying to load the XSL processor */ | /** Classpath to use when trying to load the XSL processor */ | ||||
private Path classpath = null; | private Path classpath = null; | ||||
/** The Liason implementation to use to communicate with the XSL | |||||
/** The Liaison implementation to use to communicate with the XSL | |||||
* processor */ | * processor */ | ||||
private XSLTLiaison liaison; | private XSLTLiaison liaison; | ||||
@@ -905,9 +905,9 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
} | } | ||||
/** | /** | ||||
* Get the Liason implementation to use in processing. | |||||
* Get the Liaison implementation to use in processing. | |||||
* | * | ||||
* @return an instance of the XSLTLiason interface. | |||||
* @return an instance of the XSLTLiaison interface. | |||||
*/ | */ | ||||
protected XSLTLiaison getLiaison() { | protected XSLTLiaison getLiaison() { | ||||
// if processor wasn't specified, use TraX. | // if processor wasn't specified, use TraX. | ||||
@@ -1010,7 +1010,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
/** | /** | ||||
* Set whether this param should be used. It will be used if | * Set whether this param should be used. It will be used if | ||||
* the expression evalutes to true or the name of a property | |||||
* the expression evaluates to true or the name of a property | |||||
* which has been set, otherwise it won't. | * which has been set, otherwise it won't. | ||||
* @param ifCond evaluated expression | * @param ifCond evaluated expression | ||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
@@ -1021,7 +1021,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
/** | /** | ||||
* Set whether this param should be used. It will be used if | * Set whether this param should be used. It will be used if | ||||
* the expression evalutes to true or the name of a property | |||||
* the expression evaluates to true or the name of a property | |||||
* which has been set, otherwise it won't. | * which has been set, otherwise it won't. | ||||
* @param ifProperty evaluated expression | * @param ifProperty evaluated expression | ||||
*/ | */ | ||||
@@ -1156,7 +1156,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
try { | try { | ||||
log("Loading stylesheet " + stylesheet, Project.MSG_INFO); | log("Loading stylesheet " + stylesheet, Project.MSG_INFO); | ||||
// We call liason.configure() and then liaison.setStylesheet() | |||||
// We call liaison.configure() and then liaison.setStylesheet() | |||||
// so that the internal variables of liaison can be set up | // so that the internal variables of liaison can be set up | ||||
if (liaison instanceof XSLTLiaison2) { | if (liaison instanceof XSLTLiaison2) { | ||||
((XSLTLiaison2) liaison).configure(this); | ((XSLTLiaison2) liaison).configure(this); | ||||
@@ -649,7 +649,7 @@ public class XmlProperty extends org.apache.tools.ant.Task { | |||||
/** | /** | ||||
* Include the semantic attribute name as part of the property name. | * Include the semantic attribute name as part of the property name. | ||||
* Ignored if semanticAttributes is not set to true. | * Ignored if semanticAttributes is not set to true. | ||||
* @param includeSemanticAttribute if true include the sematic attribute | |||||
* @param includeSemanticAttribute if true include the semantic attribute | |||||
* name. | * name. | ||||
*/ | */ | ||||
public void setIncludeSemanticAttribute(boolean includeSemanticAttribute) { | public void setIncludeSemanticAttribute(boolean includeSemanticAttribute) { | ||||
@@ -214,7 +214,7 @@ public class Zip extends MatchingTask { | |||||
UnicodeExtraField.NEVER; | UnicodeExtraField.NEVER; | ||||
/** | /** | ||||
* Whether to fall back to UTF-8 if a name cannot be enoded using | |||||
* Whether to fall back to UTF-8 if a name cannot be encoded using | |||||
* the specified encoding. | * the specified encoding. | ||||
* | * | ||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
@@ -532,7 +532,7 @@ public class Zip extends MatchingTask { | |||||
} | } | ||||
/** | /** | ||||
* Whether to fall back to UTF-8 if a name cannot be enoded using | |||||
* Whether to fall back to UTF-8 if a name cannot be encoded using | |||||
* the specified encoding. | * the specified encoding. | ||||
* | * | ||||
* <p>Defaults to false.</p> | * <p>Defaults to false.</p> | ||||
@@ -544,7 +544,7 @@ public class Zip extends MatchingTask { | |||||
} | } | ||||
/** | /** | ||||
* Whether to fall back to UTF-8 if a name cannot be enoded using | |||||
* Whether to fall back to UTF-8 if a name cannot be encoded using | |||||
* the specified encoding. | * the specified encoding. | ||||
* | * | ||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
@@ -1183,7 +1183,7 @@ public class Zip extends MatchingTask { | |||||
* third arg if they already know that the archive is | * third arg if they already know that the archive is | ||||
* out-of-date.</p> | * out-of-date.</p> | ||||
* | * | ||||
* <p>This method first delegates to getNonFileSetResourceToAdd | |||||
* <p>This method first delegates to getNonFileSetResourcesToAdd | |||||
* and then invokes the FileSet-arg version. All this to keep | * and then invokes the FileSet-arg version. All this to keep | ||||
* backwards compatibility for subclasses that don't know how to | * backwards compatibility for subclasses that don't know how to | ||||
* deal with non-FileSet ResourceCollections.</p> | * deal with non-FileSet ResourceCollections.</p> | ||||
@@ -52,7 +52,7 @@ public class AntVersion extends Task implements Condition { | |||||
} | } | ||||
/** | /** | ||||
* Evalute the condition. | |||||
* Evaluate the condition. | |||||
* @return true if the condition is true. | * @return true if the condition is true. | ||||
* @throws BuildException if an error occurs. | * @throws BuildException if an error occurs. | ||||
*/ | */ | ||||
@@ -93,7 +93,7 @@ public class Matches extends ProjectComponent implements Condition { | |||||
/** | /** | ||||
* Whether to treat input as singleline ('.' matches newline). | * Whether to treat input as singleline ('.' matches newline). | ||||
* Corresponsds to java.util.regex.Pattern.DOTALL. | |||||
* Corresponds to java.util.regex.Pattern.DOTALL. | |||||
* @param b the value to set. | * @param b the value to set. | ||||
*/ | */ | ||||
public void setSingleLine(boolean b) { | public void setSingleLine(boolean b) { | ||||
@@ -373,7 +373,7 @@ public class Javah extends Task { | |||||
/** | /** | ||||
* Choose the implementation for this particular task. | * Choose the implementation for this particular task. | ||||
* @param impl the name of the implemenation. | |||||
* @param impl the name of the implementation. | |||||
* @since Ant 1.6.3 | * @since Ant 1.6.3 | ||||
*/ | */ | ||||
public void setImplementation(String impl) { | public void setImplementation(String impl) { | ||||
@@ -126,7 +126,7 @@ public class Native2Ascii extends MatchingTask { | |||||
/** | /** | ||||
* Choose the implementation for this particular task. | * Choose the implementation for this particular task. | ||||
* @param impl the name of the implemenation | |||||
* @param impl the name of the implementation | |||||
* @since Ant 1.6.3 | * @since Ant 1.6.3 | ||||
*/ | */ | ||||
public void setImplementation(String impl) { | public void setImplementation(String impl) { | ||||
@@ -561,7 +561,7 @@ public class NetRexxC extends MatchingTask { | |||||
/** | /** | ||||
* Tells wether the trailing .keep in nocompile-mode should be removed | |||||
* Tells whether the trailing .keep in nocompile-mode should be removed | |||||
* so that the resulting java source really ends on .java. | * so that the resulting java source really ends on .java. | ||||
* This facilitates the use of the javadoc tool lateron. | * This facilitates the use of the javadoc tool lateron. | ||||
*/ | */ | ||||
@@ -344,7 +344,7 @@ public class ReplaceRegExp extends Task { | |||||
/** | /** | ||||
* Perform the replacement on a file | * Perform the replacement on a file | ||||
* | * | ||||
* @param f the file to perform the relacement on | |||||
* @param f the file to perform the replacement on | |||||
* @param options the regular expressions options | * @param options the regular expressions options | ||||
* @exception IOException if an error occurs | * @exception IOException if an error occurs | ||||
*/ | */ | ||||
@@ -37,7 +37,7 @@ import java.net.MalformedURLException; | |||||
/** | /** | ||||
* Validate XML Schema documents. | * Validate XML Schema documents. | ||||
* This task validates XML schema documents. It requires an XML parser | * This task validates XML schema documents. It requires an XML parser | ||||
* that handles the relevant SAx, Xerces or JAXP options. | |||||
* that handles the relevant SAX, Xerces or JAXP options. | |||||
* | * | ||||
* To resolve remote referencies, Ant may need its proxy set up, using the | * To resolve remote referencies, Ant may need its proxy set up, using the | ||||
* setproxy task. | * setproxy task. | ||||
@@ -118,7 +118,7 @@ public class DescriptorHandler extends org.xml.sax.HandlerBase { | |||||
/** | /** | ||||
* Constructor for DescriptorHandler. | * Constructor for DescriptorHandler. | ||||
* @param task the task that owns this desciptor | |||||
* @param task the task that owns this descriptor | |||||
* @param srcDir the source directory | * @param srcDir the source directory | ||||
*/ | */ | ||||
public DescriptorHandler(Task task, File srcDir) { | public DescriptorHandler(Task task, File srcDir) { | ||||
@@ -133,7 +133,7 @@ public class EjbJar extends MatchingTask { | |||||
public static class NamingScheme extends EnumeratedAttribute { | public static class NamingScheme extends EnumeratedAttribute { | ||||
/** | /** | ||||
* Naming scheme where generated jar is determined from the ejb-name in | * Naming scheme where generated jar is determined from the ejb-name in | ||||
* the deployment descripor | |||||
* the deployment descriptor | |||||
*/ | */ | ||||
public static final String EJB_NAME = "ejb-name"; | public static final String EJB_NAME = "ejb-name"; | ||||
@@ -726,7 +726,7 @@ public class GenericDeploymentTool implements EJBDeploymentTool { | |||||
} | } | ||||
/** | /** | ||||
* Get the manifets file to use for building the generic jar. | |||||
* Get the manifest file to use for building the generic jar. | |||||
* | * | ||||
* If the file does not exist the global manifest from the config is used | * If the file does not exist the global manifest from the config is used | ||||
* otherwise the default Ant manifest will be used. | * otherwise the default Ant manifest will be used. | ||||
@@ -251,7 +251,7 @@ public class WebsphereDeploymentTool extends GenericDeploymentTool { | |||||
/** | /** | ||||
* Flag to enable internal tracing when set, optional, default false. | * Flag to enable internal tracing when set, optional, default false. | ||||
* | * | ||||
* @param trace a <code>boolean</code> vaule. | |||||
* @param trace a <code>boolean</code> value. | |||||
*/ | */ | ||||
public void setTrace(boolean trace) { | public void setTrace(boolean trace) { | ||||
this.trace = trace; | this.trace = trace; | ||||
@@ -308,7 +308,7 @@ public class WebsphereDeploymentTool extends GenericDeploymentTool { | |||||
/** | /** | ||||
* Decide, wether ejbdeploy should be called or not; | |||||
* Decide, whether ejbdeploy should be called or not; | |||||
* optional, default true. | * optional, default true. | ||||
* | * | ||||
* @param ejbdeploy a <code>boolean</code> value. | * @param ejbdeploy a <code>boolean</code> value. | ||||
@@ -52,7 +52,7 @@ public final class Extension { | |||||
* are not required for the library to operate but if present will be used. | * are not required for the library to operate but if present will be used. | ||||
* It is NOT part of the official "Optional Package" specification. | * It is NOT part of the official "Optional Package" specification. | ||||
* | * | ||||
* @see <a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/spec.html#dependnecy"> | |||||
* @see <a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/spec.html#dependency"> | |||||
* Installed extension dependency</a> | * Installed extension dependency</a> | ||||
*/ | */ | ||||
public static final Attributes.Name OPTIONAL_EXTENSION_LIST | public static final Attributes.Name OPTIONAL_EXTENSION_LIST | ||||
@@ -221,7 +221,7 @@ public final class Extension { | |||||
* are no such optional packages, a zero-length list is returned. | * are no such optional packages, a zero-length list is returned. | ||||
* | * | ||||
* @param manifest Manifest to be parsed | * @param manifest Manifest to be parsed | ||||
* @return the dependencies that are specified in manifes | |||||
* @return the dependencies that are specified in manifest | |||||
*/ | */ | ||||
public static Extension[] getRequired(final Manifest manifest) { | public static Extension[] getRequired(final Manifest manifest) { | ||||
return getListed(manifest, Attributes.Name.EXTENSION_LIST); | return getListed(manifest, Attributes.Name.EXTENSION_LIST); | ||||
@@ -430,7 +430,7 @@ public final class Extension { | |||||
* | * | ||||
* @param required Description of the required optional package | * @param required Description of the required optional package | ||||
* @return the enum indicating the compatibility (or lack thereof) | * @return the enum indicating the compatibility (or lack thereof) | ||||
* of specifed extension | |||||
* of specified extension | |||||
*/ | */ | ||||
public Compatibility getCompatibilityWith(final Extension required) { | public Compatibility getCompatibilityWith(final Extension required) { | ||||
// Extension Name must match | // Extension Name must match | ||||
@@ -95,7 +95,7 @@ public class JarLibAvailableTask extends Task { | |||||
/** | /** | ||||
* Execute the task. | * Execute the task. | ||||
* | * | ||||
* @throws BuildException if somethign goes wrong. | |||||
* @throws BuildException if something goes wrong. | |||||
*/ | */ | ||||
public void execute() throws BuildException { | public void execute() throws BuildException { | ||||
validate(); | validate(); | ||||
@@ -265,7 +265,7 @@ public final class Specification { | |||||
/** | /** | ||||
* Get the title of the specification. | * Get the title of the specification. | ||||
* | * | ||||
* @return the title of speciication | |||||
* @return the title of specification | |||||
*/ | */ | ||||
public String getSpecificationTitle() { | public String getSpecificationTitle() { | ||||
return specificationTitle; | return specificationTitle; | ||||
@@ -318,10 +318,10 @@ public final class Specification { | |||||
/** | /** | ||||
* Return an array containing sections to which specification applies | * Return an array containing sections to which specification applies | ||||
* or null if relevent to no sections. | |||||
* or null if relevant to no sections. | |||||
* | * | ||||
* @return an array containing sections to which specification applies | * @return an array containing sections to which specification applies | ||||
* or null if relevent to no sections. | |||||
* or null if relevant to no sections. | |||||
*/ | */ | ||||
public String[] getSections() { | public String[] getSections() { | ||||
if (null == sections) { | if (null == sections) { | ||||
@@ -339,7 +339,7 @@ public final class Specification { | |||||
* | * | ||||
* @param other the other specification | * @param other the other specification | ||||
* @return the enum indicating the compatibility (or lack thereof) | * @return the enum indicating the compatibility (or lack thereof) | ||||
* of specifed Package Specification | |||||
* of specified Package Specification | |||||
*/ | */ | ||||
public Compatibility getCompatibilityWith(final Specification other) { | public Compatibility getCompatibilityWith(final Specification other) { | ||||
// Specification Name must match | // Specification Name must match | ||||
@@ -60,7 +60,7 @@ public class URLResolver implements ExtensionResolver { | |||||
/** | /** | ||||
* Returns the file resolved from URL and directory | * Returns the file resolved from URL and directory | ||||
* @param extension the extention | |||||
* @param extension the extension | |||||
* @param project the project | * @param project the project | ||||
* @return file the file resolved | * @return file the file resolved | ||||
* @throws BuildException if the URL is invalid | * @throws BuildException if the URL is invalid | ||||
@@ -178,7 +178,7 @@ public class Translate extends MatchingTask { | |||||
/** | /** | ||||
* Sets locale specific language of resource bundle; optional. | * Sets locale specific language of resource bundle; optional. | ||||
* @param bundleLanguage langage of the bundle | |||||
* @param bundleLanguage language of the bundle | |||||
*/ | */ | ||||
public void setBundleLanguage(String bundleLanguage) { | public void setBundleLanguage(String bundleLanguage) { | ||||
this.bundleLanguage = bundleLanguage; | this.bundleLanguage = bundleLanguage; | ||||
@@ -52,7 +52,7 @@ public class GenericHotDeploymentTool extends AbstractHotDeploymentTool { | |||||
} | } | ||||
/** | /** | ||||
* Add a nested argment element to hand to the JVM running the | |||||
* Add a nested argument element to hand to the JVM running the | |||||
* deployment tool. | * deployment tool. | ||||
* Creates a nested arg element. | * Creates a nested arg element. | ||||
* @return A Commandline.Argument object representing the | * @return A Commandline.Argument object representing the | ||||
@@ -112,7 +112,7 @@ public class GenericHotDeploymentTool extends AbstractHotDeploymentTool { | |||||
} | } | ||||
/** | /** | ||||
* The name of the class to execute to perfom | |||||
* The name of the class to execute to perform | |||||
* deployment; required. | * deployment; required. | ||||
* Example: "com.foobar.tools.deploy.DeployTool" | * Example: "com.foobar.tools.deploy.DeployTool" | ||||
* @param className The fully qualified class name of the class | * @param className The fully qualified class name of the class | ||||
@@ -30,8 +30,8 @@ import org.apache.tools.ant.types.Path; | |||||
* has been assembled and is supplied as the "source" attribute. | * has been assembled and is supplied as the "source" attribute. | ||||
* <p> | * <p> | ||||
* | * | ||||
* In the end, this task assembles the commadline parameters and | |||||
* runs the weblogic.deploy tool in a seperate JVM. | |||||
* In the end, this task assembles the commandline parameters and | |||||
* runs the weblogic.deploy tool in a separate JVM. | |||||
* | * | ||||
*@see org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool | *@see org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool | ||||
*@see org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool | *@see org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool | ||||
@@ -27,8 +27,8 @@ import org.apache.tools.ant.taskdefs.Java; | |||||
* This is <b>not</b> the same as creating the application archive. | * This is <b>not</b> the same as creating the application archive. | ||||
* This task assumes the archive (EAR, JAR, or WAR) file has been | * This task assumes the archive (EAR, JAR, or WAR) file has been | ||||
* assembled and is supplied as the "source" attribute. | * assembled and is supplied as the "source" attribute. | ||||
* <p>In the end, this task assembles the commadline parameters | |||||
* and runs the weblogic.deploy tool in a seperate JVM. | |||||
* <p>In the end, this task assembles the commandline parameters | |||||
* and runs the weblogic.deploy tool in a separate JVM. | |||||
* | * | ||||
* @see org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool | * @see org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool | ||||
* @see org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool | * @see org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool | ||||
@@ -640,7 +640,7 @@ public class JspC extends MatchingTask { | |||||
/** | /** | ||||
* get a filename from our jsp file. | * get a filename from our jsp file. | ||||
* @param mangler the jsp filename managler. | |||||
* @param mangler the jsp filename manager. | |||||
* @param srcFile the source file. | * @param srcFile the source file. | ||||
* @param srcDir the source directory. | * @param srcDir the source directory. | ||||
* @param dest the destination directory. | * @param dest the destination directory. | ||||
@@ -251,7 +251,7 @@ public class WLJspc extends MatchingTask { | |||||
/** | /** | ||||
* Set the package under which the compiled classes go | * Set the package under which the compiled classes go | ||||
* | * | ||||
* @param packageName the package name for the clases | |||||
* @param packageName the package name for the classes | |||||
*/ | */ | ||||
public void setPackage(String packageName) { | public void setPackage(String packageName) { | ||||
@@ -25,7 +25,7 @@ import org.apache.tools.ant.taskdefs.optional.jsp.JspMangler; | |||||
* The interface that all jsp compiler adapters must adher to. | * The interface that all jsp compiler adapters must adher to. | ||||
* | * | ||||
* <p>A compiler adapter is an adapter that interprets the jspc's | * <p>A compiler adapter is an adapter that interprets the jspc's | ||||
* parameters in preperation to be passed off to the compier this | |||||
* parameters in preperation to be passed off to the compiler this | |||||
* adapter represents. As all the necessary values are stored in the | * adapter represents. As all the necessary values are stored in the | ||||
* Jspc task itself, the only thing all adapters need is the jsp | * Jspc task itself, the only thing all adapters need is the jsp | ||||
* task, the execute command and a parameterless constructor (for | * task, the execute command and a parameterless constructor (for | ||||
@@ -238,7 +238,7 @@ public class JUnitTask extends Task { | |||||
* Property to set to "true" if there is a error in a test. | * Property to set to "true" if there is a error in a test. | ||||
* | * | ||||
* <p>This property is applied on all BatchTest (batchtest) and | * <p>This property is applied on all BatchTest (batchtest) and | ||||
* JUnitTest (test), however, it can possibly be overriden by | |||||
* JUnitTest (test), however, it can possibly be overridden by | |||||
* their own properties.</p> | * their own properties.</p> | ||||
* @param propertyName the name of the property to set in the | * @param propertyName the name of the property to set in the | ||||
* event of an error. | * event of an error. | ||||
@@ -268,7 +268,7 @@ public class JUnitTask extends Task { | |||||
* Property to set to "true" if there is a failure in a test. | * Property to set to "true" if there is a failure in a test. | ||||
* | * | ||||
* <p>This property is applied on all BatchTest (batchtest) and | * <p>This property is applied on all BatchTest (batchtest) and | ||||
* JUnitTest (test), however, it can possibly be overriden by | |||||
* JUnitTest (test), however, it can possibly be overridden by | |||||
* their own properties.</p> | * their own properties.</p> | ||||
* @param propertyName the name of the property to set in the | * @param propertyName the name of the property to set in the | ||||
* event of an failure. | * event of an failure. | ||||
@@ -311,7 +311,7 @@ public class JUnitTask extends Task { | |||||
* <p>Only tests with the same configuration of haltonerror, | * <p>Only tests with the same configuration of haltonerror, | ||||
* haltonfailure, errorproperty, failureproperty and filtertrace | * haltonfailure, errorproperty, failureproperty and filtertrace | ||||
* can share a forked Java VM, so even if you set the value to | * can share a forked Java VM, so even if you set the value to | ||||
* "once", Ant may need to fork mutliple VMs.</p> | |||||
* "once", Ant may need to fork multiple VMs.</p> | |||||
* @param mode the mode to use. | * @param mode the mode to use. | ||||
* @since Ant 1.6.2 | * @since Ant 1.6.2 | ||||
*/ | */ | ||||
@@ -428,7 +428,7 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* Adds a system property that tests can access. | * Adds a system property that tests can access. | ||||
* This might be useful to tranfer Ant properties to the | |||||
* This might be useful to transfer Ant properties to the | |||||
* testcases when JVM forking is not enabled. | * testcases when JVM forking is not enabled. | ||||
* | * | ||||
* @since Ant 1.3 | * @since Ant 1.3 | ||||
@@ -442,7 +442,7 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* Adds a system property that tests can access. | * Adds a system property that tests can access. | ||||
* This might be useful to tranfer Ant properties to the | |||||
* This might be useful to transfer Ant properties to the | |||||
* testcases when JVM forking is not enabled. | * testcases when JVM forking is not enabled. | ||||
* @param sysp new environment variable to add | * @param sysp new environment variable to add | ||||
* @since Ant 1.6 | * @since Ant 1.6 | ||||
@@ -459,7 +459,7 @@ public class JUnitTask extends Task { | |||||
* Adds a set of properties that will be used as system properties | * Adds a set of properties that will be used as system properties | ||||
* that tests can access. | * that tests can access. | ||||
* | * | ||||
* This might be useful to tranfer Ant properties to the | |||||
* This might be useful to transfer Ant properties to the | |||||
* testcases when JVM forking is not enabled. | * testcases when JVM forking is not enabled. | ||||
* | * | ||||
* @param sysp set of properties to be added | * @param sysp set of properties to be added | ||||
@@ -644,7 +644,7 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* If set, system properties will be copied to the cloned VM - as | * If set, system properties will be copied to the cloned VM - as | ||||
* well as the bootclasspath unless you have explicitly specified | * well as the bootclasspath unless you have explicitly specified | ||||
* a bootclaspath. | |||||
* a bootclasspath. | |||||
* | * | ||||
* <p>Doesn't have any effect unless fork is true.</p> | * <p>Doesn't have any effect unless fork is true.</p> | ||||
* @param cloneVm a <code>boolean</code> value. | * @param cloneVm a <code>boolean</code> value. | ||||
@@ -42,9 +42,9 @@ public interface JUnitTaskMirror { | |||||
/** | /** | ||||
* Add the formatter to be called when the jvm exits before | * Add the formatter to be called when the jvm exits before | ||||
* the test suite finishs. | |||||
* the test suite finishes. | |||||
* @param test the test. | * @param test the test. | ||||
* @param formatter the fomatter to use. | |||||
* @param formatter the formatter to use. | |||||
* @param out the output stream to use. | * @param out the output stream to use. | ||||
* @param message the message to write out. | * @param message the message to write out. | ||||
* @param testCase the name of the test. | * @param testCase the name of the test. | ||||
@@ -762,7 +762,7 @@ public class JUnitTestRunner implements TestListener, JUnitTaskMirror.JUnitTestR | |||||
* failures?</td><td>false</td></tr> | * failures?</td><td>false</td></tr> | ||||
* | * | ||||
* <tr><td>formatter</td><td>A JUnitResultFormatter given as | * <tr><td>formatter</td><td>A JUnitResultFormatter given as | ||||
* classname,filename. If filename is ommitted, System.out is | |||||
* classname,filename. If filename is omitted, System.out is | |||||
* assumed.</td><td>none</td></tr> | * assumed.</td><td>none</td></tr> | ||||
* | * | ||||
* <tr><td>showoutput</td><td>send output to System.err/.out as | * <tr><td>showoutput</td><td>send output to System.err/.out as | ||||
@@ -44,7 +44,7 @@ import org.xml.sax.SAXException; | |||||
/** | /** | ||||
* Aggregates all <junit> XML formatter testsuite data under | * Aggregates all <junit> XML formatter testsuite data under | ||||
* a specific directory and transforms the results via XSLT. | * a specific directory and transforms the results via XSLT. | ||||
* It is not particulary clean but | |||||
* It is not particularly clean but | |||||
* should be helpful while I am thinking about another technique. | * should be helpful while I am thinking about another technique. | ||||
* | * | ||||
* <p> The main problem is due to the fact that a JVM can be forked for a testcase | * <p> The main problem is due to the fact that a JVM can be forked for a testcase | ||||
@@ -207,7 +207,7 @@ public class XMLResultAggregator extends Task implements XMLConstants { | |||||
/** | /** | ||||
* Write the DOM tree to a file. | * Write the DOM tree to a file. | ||||
* @param doc the XML document to dump to disk. | * @param doc the XML document to dump to disk. | ||||
* @param file the filename to write the document to. Should obviouslly be a .xml file. | |||||
* @param file the filename to write the document to. Should obviously be a .xml file. | |||||
* @throws IOException thrown if there is an error while writing the content. | * @throws IOException thrown if there is an error while writing the content. | ||||
*/ | */ | ||||
protected void writeDOMTree(Document doc, File file) throws IOException { | protected void writeDOMTree(Document doc, File file) throws IOException { | ||||
@@ -1702,7 +1702,7 @@ public class FTP extends Task implements FTPTaskConfig { | |||||
/** | /** | ||||
* Executable a retryable object. | * Executable a retryable object. | ||||
* @param h the retry hander. | |||||
* @param h the retry handler. | |||||
* @param r the object that should be retried until it succeeds | * @param r the object that should be retried until it succeeds | ||||
* or the number of retrys is reached. | * or the number of retrys is reached. | ||||
* @param descr a description of the command that is being run. | * @param descr a description of the command that is being run. | ||||
@@ -2245,7 +2245,7 @@ public class FTP extends Task implements FTPTaskConfig { | |||||
* Retrieve a single file from the remote host. <code>filename</code> may | * Retrieve a single file from the remote host. <code>filename</code> may | ||||
* contain a relative path specification. <p> | * contain a relative path specification. <p> | ||||
* | * | ||||
* The file will then be retreived using the entire relative path spec - | |||||
* The file will then be retrieved using the entire relative path spec - | |||||
* no attempt is made to change directories. It is anticipated that this | * no attempt is made to change directories. It is anticipated that this | ||||
* may eventually cause problems with some FTP servers, but it simplifies | * may eventually cause problems with some FTP servers, but it simplifies | ||||
* the coding.</p> | * the coding.</p> | ||||
@@ -1088,7 +1088,7 @@ public class FTPTaskMirrorImpl implements FTPTaskMirror { | |||||
/** | /** | ||||
* Executable a retryable object. | * Executable a retryable object. | ||||
* @param h the retry hander. | |||||
* @param h the retry handler. | |||||
* @param r the object that should be retried until it succeeds | * @param r the object that should be retried until it succeeds | ||||
* or the number of retrys is reached. | * or the number of retrys is reached. | ||||
* @param descr a description of the command that is being run. | * @param descr a description of the command that is being run. | ||||
@@ -399,7 +399,7 @@ public class RExecTask extends Task { | |||||
rexec.sendString(password, false); | rexec.sendString(password, false); | ||||
} | } | ||||
/** | /** | ||||
* Set the the comand to execute on the server; | |||||
* Set the the command to execute on the server; | |||||
* @param c a <code>String</code> value | * @param c a <code>String</code> value | ||||
*/ | */ | ||||
public void setCommand(String c) { | public void setCommand(String c) { | ||||
@@ -101,7 +101,7 @@ public class P4Resolve extends P4Base { | |||||
/** | /** | ||||
* read the simulation mode flag | * read the simulation mode flag | ||||
* @return flag indicating whether one wants just to simulate | * @return flag indicating whether one wants just to simulate | ||||
* the p4 resolve operation whithout actually doing it | |||||
* the p4 resolve operation without actually doing it | |||||
*/ | */ | ||||
public boolean isSimulationmode() { | public boolean isSimulationmode() { | ||||
return simulationmode; | return simulationmode; | ||||
@@ -219,7 +219,7 @@ public abstract class SOS extends Task implements SOSCmd { | |||||
} | } | ||||
/** | /** | ||||
* Get the executable to run. Add the path if it was specifed in the build file | |||||
* Get the executable to run. Add the path if it was specified in the build file | |||||
* | * | ||||
* @return the executable to run. | * @return the executable to run. | ||||
*/ | */ | ||||
@@ -112,7 +112,7 @@ public class SoundTask extends Task { | |||||
/** | /** | ||||
* Sets the duration in milliseconds the file should be played; optional. | * Sets the duration in milliseconds the file should be played; optional. | ||||
* @param duration the duration in millisconds | |||||
* @param duration the duration in milliseconds | |||||
*/ | */ | ||||
public void setDuration(Long duration) { | public void setDuration(Long duration) { | ||||
this.duration = duration; | this.duration = duration; | ||||
@@ -116,7 +116,7 @@ public class SplashTask extends Task { | |||||
/** | /** | ||||
* how long to show the splash screen in milliseconds, | * how long to show the splash screen in milliseconds, | ||||
* optional; default 5000 ms. | * optional; default 5000 ms. | ||||
* @param duration the spash duration in milliseconds | |||||
* @param duration the splash duration in milliseconds | |||||
*/ | */ | ||||
public void setShowduration(int duration) { | public void setShowduration(int duration) { | ||||
this.showDuration = duration; | this.showDuration = duration; | ||||
@@ -167,7 +167,7 @@ public class Directory { | |||||
/** | /** | ||||
* Convert a file path to an array of path components. | * Convert a file path to an array of path components. | ||||
* This uses File.sepatator to split the file path string. | |||||
* This uses File.separator to split the file path string. | |||||
* @param thePath the file path string to convert | * @param thePath the file path string to convert | ||||
* @return an array of path components | * @return an array of path components | ||||
*/ | */ | ||||
@@ -23,7 +23,7 @@ package org.apache.tools.ant.taskdefs.optional.ssh; | |||||
*/ | */ | ||||
public interface LogListener { | public interface LogListener { | ||||
/** | /** | ||||
* Method for the loglistener to implement to recieve log messages. | |||||
* Method for the loglistener to implement to receive log messages. | |||||
* @param message the message to log | * @param message the message to log | ||||
*/ | */ | ||||
void log(String message); | void log(String message); | ||||
@@ -191,7 +191,7 @@ public abstract class SSHBase extends Task implements LogListener { | |||||
} | } | ||||
/** | /** | ||||
* Open an ssh seession. | |||||
* Open an ssh session. | |||||
* @return the opened session | * @return the opened session | ||||
* @throws JSchException on error | * @throws JSchException on error | ||||
*/ | */ | ||||
@@ -182,7 +182,7 @@ public class Scp extends SSHBase { | |||||
} | } | ||||
/** | /** | ||||
* Adds a FileSet tranfer to remote host. NOTE: Either | |||||
* Adds a FileSet transfer to remote host. NOTE: Either | |||||
* addFileSet() or setFile() are required. But, not both. | * addFileSet() or setFile() are required. But, not both. | ||||
* | * | ||||
* @param set FileSet to send to remote host. | * @param set FileSet to send to remote host. | ||||
@@ -30,7 +30,7 @@ import org.apache.tools.ant.taskdefs.Sequential; | |||||
import org.apache.tools.ant.taskdefs.WaitFor; | import org.apache.tools.ant.taskdefs.WaitFor; | ||||
/** | /** | ||||
* Task to provide functional testing under Ant, with a fairly complex worflow of: | |||||
* Task to provide functional testing under Ant, with a fairly complex workflow of: | |||||
* | * | ||||
* <ul> | * <ul> | ||||
* <li>Conditional execution</li> | * <li>Conditional execution</li> | ||||
@@ -88,7 +88,7 @@ public abstract class AbstractAccessTask | |||||
} | } | ||||
/** | /** | ||||
* Prevent the use of the addsourcefile atribute. | |||||
* Prevent the use of the addsourcefile attribute. | |||||
* | * | ||||
* @ant.attribute ignore="true" | * @ant.attribute ignore="true" | ||||
* @param b A user supplied boolean we won't accept. | * @param b A user supplied boolean we won't accept. | ||||
@@ -50,7 +50,7 @@ public class Chgrp extends AbstractAccessTask { | |||||
} | } | ||||
/** | /** | ||||
* Set the group atribute. | |||||
* Set the group attribute. | |||||
* | * | ||||
* @param group The new group for the file(s) or directory(ies) | * @param group The new group for the file(s) or directory(ies) | ||||
*/ | */ | ||||
@@ -72,7 +72,7 @@ public class Chgrp extends AbstractAccessTask { | |||||
} | } | ||||
/** | /** | ||||
* We don't want to expose the executable atribute, so overide it. | |||||
* We don't want to expose the executable attribute, so override it. | |||||
* | * | ||||
* @param e User supplied executable that we won't accept. | * @param e User supplied executable that we won't accept. | ||||
*/ | */ | ||||
@@ -50,7 +50,7 @@ public class Chown extends AbstractAccessTask { | |||||
} | } | ||||
/** | /** | ||||
* Set the owner atribute. | |||||
* Set the owner attribute. | |||||
* | * | ||||
* @param owner The new owner for the file(s) or directory(ies) | * @param owner The new owner for the file(s) or directory(ies) | ||||
*/ | */ | ||||
@@ -72,7 +72,7 @@ public class Chown extends AbstractAccessTask { | |||||
} | } | ||||
/** | /** | ||||
* We don't want to expose the executable atribute, so overide it. | |||||
* We don't want to expose the executable attribute, so override it. | |||||
* | * | ||||
* @param e User supplied executable that we won't accept. | * @param e User supplied executable that we won't accept. | ||||
*/ | */ | ||||
@@ -63,7 +63,7 @@ public interface MSVSSConstants { | |||||
/** The text for replacing writable files */ | /** The text for replacing writable files */ | ||||
String WRITABLE_REPLACE = "replace"; | String WRITABLE_REPLACE = "replace"; | ||||
/** The text for skiping writable files */ | |||||
/** The text for skipping writable files */ | |||||
String WRITABLE_SKIP = "skip"; | String WRITABLE_SKIP = "skip"; | ||||
/** The text for failing on writable files */ | /** The text for failing on writable files */ | ||||
String WRITABLE_FAIL = "fail"; | String WRITABLE_FAIL = "fail"; | ||||
@@ -172,7 +172,7 @@ public class Attrib extends ExecuteOn { | |||||
/** | /** | ||||
* Check if the os is valid. | * Check if the os is valid. | ||||
* Defauls is to allow windows | |||||
* Default is to allow windows | |||||
* @return true if the os is valid. | * @return true if the os is valid. | ||||
*/ | */ | ||||
protected boolean isValidOs() { | protected boolean isValidOs() { | ||||
@@ -34,7 +34,7 @@ import org.apache.tools.ant.util.StringUtils; | |||||
/** | /** | ||||
* This is the default implementation for the RmicAdapter interface. | * This is the default implementation for the RmicAdapter interface. | ||||
* Currently, this is a cut-and-paste of the original rmic task and | * Currently, this is a cut-and-paste of the original rmic task and | ||||
* DefaultCopmpilerAdapter. | |||||
* DefaultCompilerAdapter. | |||||
* | * | ||||
* @since Ant 1.4 | * @since Ant 1.4 | ||||
*/ | */ | ||||
@@ -61,7 +61,7 @@ public interface RmicAdapter { | |||||
/** | /** | ||||
* The CLASSPATH this rmic process will use. | * The CLASSPATH this rmic process will use. | ||||
* @return the classpaht this rmic process will use | |||||
* @return the classpath this rmic process will use | |||||
*/ | */ | ||||
Path getClasspath(); | Path getClasspath(); | ||||
} | } |
@@ -49,7 +49,7 @@ public class WLRmic extends DefaultRmicAdapter { | |||||
public static final String WL_RMI_STUB_SUFFIX = "_WLStub"; | public static final String WL_RMI_STUB_SUFFIX = "_WLStub"; | ||||
/** The skeleton suffix */ | /** The skeleton suffix */ | ||||
public static final String WL_RMI_SKEL_SUFFIX = "_WLSkel"; | public static final String WL_RMI_SKEL_SUFFIX = "_WLSkel"; | ||||
/** upsupported error message */ | |||||
/** unsupported error message */ | |||||
public static final String UNSUPPORTED_STUB_OPTION = "Unsupported stub option: "; | public static final String UNSUPPORTED_STUB_OPTION = "Unsupported stub option: "; | ||||
/** | /** | ||||
@@ -444,7 +444,7 @@ public abstract class AbstractFileSet extends DataType | |||||
} | } | ||||
/** | /** | ||||
* Gets whether an error is/shold be thrown if the base directory | |||||
* Gets whether an error is/should be thrown if the base directory | |||||
* does not exist. | * does not exist. | ||||
* @since Ant 1.8.2 | * @since Ant 1.8.2 | ||||
*/ | */ | ||||
@@ -799,7 +799,7 @@ public abstract class AbstractFileSet extends DataType | |||||
} | } | ||||
/** | /** | ||||
* Add an arbitary selector. | |||||
* Add an arbitrary selector. | |||||
* @param selector the <code>FileSelector</code> to add. | * @param selector the <code>FileSelector</code> to add. | ||||
* @since Ant 1.6 | * @since Ant 1.6 | ||||
*/ | */ | ||||
@@ -77,7 +77,7 @@ public abstract class ArchiveFileSet extends FileSet { | |||||
} | } | ||||
/** | /** | ||||
* Constructor using a fileset arguement. | |||||
* Constructor using a fileset argument. | |||||
* @param fileset the fileset to use | * @param fileset the fileset to use | ||||
*/ | */ | ||||
protected ArchiveFileSet(FileSet fileset) { | protected ArchiveFileSet(FileSet fileset) { | ||||
@@ -85,7 +85,7 @@ public abstract class ArchiveFileSet extends FileSet { | |||||
} | } | ||||
/** | /** | ||||
* Constructor using a archive fileset arguement. | |||||
* Constructor using a archive fileset argument. | |||||
* @param fileset the archivefileset to use | * @param fileset the archivefileset to use | ||||
*/ | */ | ||||
protected ArchiveFileSet(ArchiveFileSet fileset) { | protected ArchiveFileSet(ArchiveFileSet fileset) { | ||||
@@ -200,7 +200,7 @@ public abstract class ArchiveFileSet extends FileSet { | |||||
* Performs the check for circular references and returns the | * Performs the check for circular references and returns the | ||||
* referenced object. | * referenced object. | ||||
* This is an override which does not delegate to the superclass; instead it invokes | * This is an override which does not delegate to the superclass; instead it invokes | ||||
* {@link #getRef(Project)}, because that conains the special support for fileset | |||||
* {@link #getRef(Project)}, because that contains the special support for fileset | |||||
* references, which can be handled by all ArchiveFileSets. | * references, which can be handled by all ArchiveFileSets. | ||||
* @param p the Ant Project instance against which to resolve references. | * @param p the Ant Project instance against which to resolve references. | ||||
* @return the dereferenced object. | * @return the dereferenced object. | ||||
@@ -351,7 +351,7 @@ public abstract class ArchiveScanner extends DirectoryScanner { | |||||
/** | /** | ||||
* Remove trailing slash if present. | * Remove trailing slash if present. | ||||
* @param s the file name to trim. | * @param s the file name to trim. | ||||
* @return the trimed file name. | |||||
* @return the trimmed file name. | |||||
*/ | */ | ||||
protected static final String trimSeparator(String s) { | protected static final String trimSeparator(String s) { | ||||
return s.endsWith("/") ? s.substring(0, s.length() - 1) : s; | return s.endsWith("/") ? s.substring(0, s.length() - 1) : s; | ||||
@@ -458,7 +458,7 @@ public class CommandlineJava implements Cloneable { | |||||
/** | /** | ||||
* Specify max memory of the JVM. | * Specify max memory of the JVM. | ||||
* -mx or -Xmx depending on VM version. | * -mx or -Xmx depending on VM version. | ||||
* @param max the string to pass to the jvm to specifiy the max memory. | |||||
* @param max the string to pass to the jvm to specify the max memory. | |||||
*/ | */ | ||||
public void setMaxmemory(String max) { | public void setMaxmemory(String max) { | ||||
this.maxMemory = max; | this.maxMemory = max; | ||||
@@ -29,7 +29,7 @@ public class Environment { | |||||
// CheckStyle:VisibilityModifier OFF - bc | // CheckStyle:VisibilityModifier OFF - bc | ||||
/** | /** | ||||
* a vector of type Enviromment.Variable | |||||
* a vector of type Environment.Variable | |||||
* @see Variable | * @see Variable | ||||
*/ | */ | ||||
protected Vector variables; | protected Vector variables; | ||||
@@ -62,7 +62,7 @@ public class FilterSet extends DataType implements Cloneable { | |||||
} | } | ||||
/** | /** | ||||
* No-argument conmstructor. | |||||
* No-argument constructor. | |||||
*/ | */ | ||||
public Filter() { | public Filter() { | ||||
} | } | ||||
@@ -18,7 +18,7 @@ | |||||
package org.apache.tools.ant.types; | package org.apache.tools.ant.types; | ||||
/** | /** | ||||
* Parameterizable objects take genric key value pairs. | |||||
* Parameterizable objects take generic key value pairs. | |||||
* | * | ||||
*/ | */ | ||||
public interface Parameterizable { | public interface Parameterizable { | ||||
@@ -53,7 +53,7 @@ import org.apache.tools.ant.util.JavaEnvUtils; | |||||
* </sometask><br> | * </sometask><br> | ||||
* </code> | * </code> | ||||
* <p> | * <p> | ||||
* The object implemention <code>sometask</code> must provide a method called | |||||
* The object implementation <code>sometask</code> must provide a method called | |||||
* <code>createSomepath</code> which returns an instance of <code>Path</code>. | * <code>createSomepath</code> which returns an instance of <code>Path</code>. | ||||
* Nested path definitions are handled by the Path object and must be labeled | * Nested path definitions are handled by the Path object and must be labeled | ||||
* <code>pathelement</code>.<p> | * <code>pathelement</code>.<p> | ||||
@@ -247,7 +247,7 @@ public class PropertySet extends DataType implements ResourceCollection { | |||||
/** | /** | ||||
* Get the dynamic attribute. | * Get the dynamic attribute. | ||||
* @return true if the property set is to be evalulated each time it is used. | |||||
* @return true if the property set is to be evaluated each time it is used. | |||||
*/ | */ | ||||
public boolean getDynamic() { | public boolean getDynamic() { | ||||
if (isReference()) { | if (isReference()) { | ||||
@@ -47,7 +47,7 @@ public class TarFileSet extends ArchiveFileSet { | |||||
} | } | ||||
/** | /** | ||||
* Constructor using a fileset arguement. | |||||
* Constructor using a fileset argument. | |||||
* @param fileset the fileset to use | * @param fileset the fileset to use | ||||
*/ | */ | ||||
protected TarFileSet(FileSet fileset) { | protected TarFileSet(FileSet fileset) { | ||||
@@ -55,7 +55,7 @@ public class TarFileSet extends ArchiveFileSet { | |||||
} | } | ||||
/** | /** | ||||
* Constructor using a tarfileset arguement. | |||||
* Constructor using a tarfileset argument. | |||||
* @param fileset the tarfileset to use | * @param fileset the tarfileset to use | ||||
*/ | */ | ||||
protected TarFileSet(TarFileSet fileset) { | protected TarFileSet(TarFileSet fileset) { | ||||
@@ -41,7 +41,7 @@ public class ZipFileSet extends ArchiveFileSet { | |||||
} | } | ||||
/** | /** | ||||
* Constructor using a fileset arguement. | |||||
* Constructor using a fileset argument. | |||||
* @param fileset the fileset to use | * @param fileset the fileset to use | ||||
*/ | */ | ||||
protected ZipFileSet(FileSet fileset) { | protected ZipFileSet(FileSet fileset) { | ||||
@@ -49,7 +49,7 @@ public class ZipFileSet extends ArchiveFileSet { | |||||
} | } | ||||
/** | /** | ||||
* Constructor using a zipfileset arguement. | |||||
* Constructor using a zipfileset argument. | |||||
* @param fileset the zipfileset to use | * @param fileset the zipfileset to use | ||||
*/ | */ | ||||
protected ZipFileSet(ZipFileSet fileset) { | protected ZipFileSet(ZipFileSet fileset) { | ||||
@@ -48,7 +48,7 @@ public class ScriptCondition extends AbstractScriptComponent implements Conditio | |||||
} | } | ||||
/** | /** | ||||
* get the current value of the conditon | |||||
* get the current value of the condition | |||||
* @return true if the condition | * @return true if the condition | ||||
*/ | */ | ||||
public boolean getValue() { | public boolean getValue() { | ||||
@@ -43,7 +43,7 @@ public class Ellipse extends BasicShape implements DrawOperation { | |||||
/** | /** | ||||
* Set the height. | * Set the height. | ||||
* @param height the height of the elipse. | |||||
* @param height the height of the ellipse. | |||||
*/ | */ | ||||
public void setHeight(int height) { | public void setHeight(int height) { | ||||
this.height = height; | this.height = height; | ||||
@@ -225,7 +225,7 @@ public abstract class AbstractClasspathResource extends Resource { | |||||
} | } | ||||
/** | /** | ||||
* open the inpout stream from a specific classloader | |||||
* open the input stream from a specific classloader | |||||
* @param cl the classloader to use. Will be null if the system classloader is used | * @param cl the classloader to use. Will be null if the system classloader is used | ||||
* @return an open input stream for the resource | * @return an open input stream for the resource | ||||
* @throws IOException if an error occurs. | * @throws IOException if an error occurs. | ||||
@@ -27,7 +27,7 @@ import org.apache.tools.bzip2.CBZip2OutputStream; | |||||
/** | /** | ||||
* A Bzip2 compressed resource. | * A Bzip2 compressed resource. | ||||
* | * | ||||
* <p>Wraps around another resource, delegates all quries to that | |||||
* <p>Wraps around another resource, delegates all queries to that | |||||
* other resource but uncompresses/compresses streams on the fly.</p> | * other resource but uncompresses/compresses streams on the fly.</p> | ||||
* | * | ||||
* @since Ant 1.7 | * @since Ant 1.7 | ||||
@@ -96,7 +96,7 @@ public class Name implements ResourceSelector { | |||||
} | } | ||||
/** | /** | ||||
* Attribute specifing whether to ignore the difference | |||||
* Attribute specifying whether to ignore the difference | |||||
* between / and \ (the two common directory characters). | * between / and \ (the two common directory characters). | ||||
* @param handleDirSep a boolean, default is false. | * @param handleDirSep a boolean, default is false. | ||||
* @since Ant 1.8.0 | * @since Ant 1.8.0 | ||||
@@ -314,7 +314,7 @@ public abstract class AbstractSelectorContainer extends DataType | |||||
} | } | ||||
/** | /** | ||||
* add an arbitary selector | |||||
* add an arbitrary selector | |||||
* @param selector the selector to add | * @param selector the selector to add | ||||
* @since Ant 1.6 | * @since Ant 1.6 | ||||
*/ | */ | ||||
@@ -320,7 +320,7 @@ public abstract class BaseSelectorContainer extends BaseSelector | |||||
} | } | ||||
/** | /** | ||||
* add an arbitary selector | |||||
* add an arbitrary selector | |||||
* @param selector the selector to add | * @param selector the selector to add | ||||
* @since Ant 1.6 | * @since Ant 1.6 | ||||
*/ | */ | ||||