Browse Source

Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation

-- api --

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 13 years ago
parent
commit
6b7bc9e535
100 changed files with 149 additions and 149 deletions
  1. +1
    -1
      WHATSNEW
  2. +3
    -3
      src/main/org/apache/tools/ant/AntTypeDefinition.java
  3. +2
    -2
      src/main/org/apache/tools/ant/ComponentHelper.java
  4. +2
    -2
      src/main/org/apache/tools/ant/ProjectHelper.java
  5. +1
    -1
      src/main/org/apache/tools/ant/filters/FixCrLfFilter.java
  6. +1
    -1
      src/main/org/apache/tools/ant/filters/SortFilter.java
  7. +1
    -1
      src/main/org/apache/tools/ant/filters/TabsToSpaces.java
  8. +1
    -1
      src/main/org/apache/tools/ant/helper/ProjectHelper2.java
  9. +2
    -2
      src/main/org/apache/tools/ant/listener/MailLogger.java
  10. +1
    -1
      src/main/org/apache/tools/ant/property/LocalProperties.java
  11. +1
    -1
      src/main/org/apache/tools/ant/property/LocalPropertyStack.java
  12. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Ant.java
  13. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/AntlibDefinition.java
  14. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Apt.java
  15. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Available.java
  16. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/CallTarget.java
  17. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/Componentdef.java
  18. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/CopyPath.java
  19. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Definer.java
  20. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Get.java
  21. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/HostInfo.java
  22. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/JDBCTask.java
  23. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Java.java
  24. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Javac.java
  25. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  26. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/MatchingTask.java
  27. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Recorder.java
  28. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Retry.java
  29. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Rmic.java
  30. +6
    -6
      src/main/org/apache/tools/ant/taskdefs/SQLExec.java
  31. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/SubAnt.java
  32. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/WaitFor.java
  33. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/XSLTLiaison2.java
  34. +6
    -6
      src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
  35. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/XmlProperty.java
  36. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/Zip.java
  37. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/condition/AntVersion.java
  38. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/condition/Matches.java
  39. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/Javah.java
  40. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/Native2Ascii.java
  41. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
  42. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
  43. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java
  44. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java
  45. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java
  46. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
  47. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java
  48. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java
  49. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/extension/JarLibAvailableTask.java
  50. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java
  51. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/extension/resolvers/URLResolver.java
  52. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java
  53. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/j2ee/GenericHotDeploymentTool.java
  54. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/j2ee/JonasHotDeploymentTool.java
  55. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java
  56. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java
  57. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
  58. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JspCompilerAdapter.java
  59. +7
    -7
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  60. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java
  61. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java
  62. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.java
  63. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
  64. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java
  65. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java
  66. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Resolve.java
  67. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/sos/SOS.java
  68. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java
  69. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/splash/SplashTask.java
  70. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java
  71. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ssh/LogListener.java
  72. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java
  73. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java
  74. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java
  75. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java
  76. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/unix/Chgrp.java
  77. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/unix/Chown.java
  78. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSConstants.java
  79. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java
  80. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
  81. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapter.java
  82. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
  83. +2
    -2
      src/main/org/apache/tools/ant/types/AbstractFileSet.java
  84. +3
    -3
      src/main/org/apache/tools/ant/types/ArchiveFileSet.java
  85. +1
    -1
      src/main/org/apache/tools/ant/types/ArchiveScanner.java
  86. +1
    -1
      src/main/org/apache/tools/ant/types/CommandlineJava.java
  87. +1
    -1
      src/main/org/apache/tools/ant/types/Environment.java
  88. +1
    -1
      src/main/org/apache/tools/ant/types/FilterSet.java
  89. +1
    -1
      src/main/org/apache/tools/ant/types/Parameterizable.java
  90. +1
    -1
      src/main/org/apache/tools/ant/types/Path.java
  91. +1
    -1
      src/main/org/apache/tools/ant/types/PropertySet.java
  92. +2
    -2
      src/main/org/apache/tools/ant/types/TarFileSet.java
  93. +2
    -2
      src/main/org/apache/tools/ant/types/ZipFileSet.java
  94. +1
    -1
      src/main/org/apache/tools/ant/types/optional/ScriptCondition.java
  95. +1
    -1
      src/main/org/apache/tools/ant/types/optional/image/Ellipse.java
  96. +1
    -1
      src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
  97. +1
    -1
      src/main/org/apache/tools/ant/types/resources/BZip2Resource.java
  98. +1
    -1
      src/main/org/apache/tools/ant/types/resources/selectors/Name.java
  99. +1
    -1
      src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java
  100. +1
    -1
      src/main/org/apache/tools/ant/types/selectors/BaseSelectorContainer.java

+ 1
- 1
WHATSNEW View File

@@ -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:
-------------- --------------


+ 3
- 3
src/main/org/apache/tools/ant/AntTypeDefinition.java View File

@@ -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.


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

@@ -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.


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

@@ -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 &lt;import&gt;'s prefixSeperator attribute.</p>
* <p>May be set by &lt;import&gt;'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
*/ */


+ 1
- 1
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java View File

@@ -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 &quot;<i><b>tab</b></i>&quot;
* This attribute is only used in association with the &quot;<i><b>tab</b></i>&quot;
* 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.
* *


+ 1
- 1
src/main/org/apache/tools/ant/filters/SortFilter.java View File

@@ -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:


+ 1
- 1
src/main/org/apache/tools/ant/filters/TabsToSpaces.java View File

@@ -26,7 +26,7 @@ import org.apache.tools.ant.types.Parameter;
* *
* Example: * Example:
* *
* <pre>&lt;tabtospaces tablength=&quot;8&quot;/&gt;</pre>
* <pre>&lt;tabstospaces tablength=&quot;8&quot;/&gt;</pre>
* *
* Or: * Or:
* *


+ 1
- 1
src/main/org/apache/tools/ant/helper/ProjectHelper2.java View File

@@ -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
*/ */


+ 2
- 2
src/main/org/apache/tools/ant/listener/MailLogger.java View File

@@ -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>


+ 1
- 1
src/main/org/apache/tools/ant/property/LocalProperties.java View File

@@ -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) {


+ 1
- 1
src/main/org/apache/tools/ant/property/LocalPropertyStack.java View File

@@ -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()) {


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

@@ -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.


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

@@ -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;


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

@@ -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() {


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

@@ -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.
*/ */


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

@@ -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.


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

@@ -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


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

@@ -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.


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

@@ -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;


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

@@ -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 {
/** /**


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

@@ -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) {


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

@@ -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) {}
} }
} }
} }


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

@@ -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.


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

@@ -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;


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

@@ -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() {


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

@@ -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
*/ */


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

@@ -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


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

@@ -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
*/ */


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

@@ -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) {


+ 6
- 6
src/main/org/apache/tools/ant/taskdefs/SQLExec.java View File

@@ -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) {


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

@@ -454,7 +454,7 @@ public class SubAnt extends Task {
/** /**
* Corresponds to <code>&lt;ant&gt;</code>'s * Corresponds to <code>&lt;ant&gt;</code>'s
* nested <code>&lt;propertyset&gt;</code> element. * nested <code>&lt;propertyset&gt;</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);


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

@@ -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
*/ */


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

@@ -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);


+ 6
- 6
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java View File

@@ -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);


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

@@ -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) {


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

@@ -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>


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

@@ -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.
*/ */


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

@@ -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) {


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

@@ -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) {


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

@@ -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) {


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

@@ -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.
*/ */


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

@@ -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
*/ */


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

@@ -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.


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java View File

@@ -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) {


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java View File

@@ -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";




+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java View File

@@ -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.


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java View File

@@ -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.


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java View File

@@ -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


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/extension/JarLibAvailableTask.java View File

@@ -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();


+ 4
- 4
src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java View File

@@ -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


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/extension/resolvers/URLResolver.java View File

@@ -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


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java View File

@@ -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;


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/GenericHotDeploymentTool.java View File

@@ -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


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/JonasHotDeploymentTool.java View File

@@ -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


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java View File

@@ -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


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java View File

@@ -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.


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java View File

@@ -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) {




+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JspCompilerAdapter.java View File

@@ -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


+ 7
- 7
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java View File

@@ -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.


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java View File

@@ -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.


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java View File

@@ -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


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.java View File

@@ -44,7 +44,7 @@ import org.xml.sax.SAXException;
/** /**
* Aggregates all &lt;junit&gt; XML formatter testsuite data under * Aggregates all &lt;junit&gt; 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 {


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java View File

@@ -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>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java View File

@@ -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.


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java View File

@@ -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) {


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Resolve.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/sos/SOS.java View File

@@ -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.
*/ */


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/splash/SplashTask.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java View File

@@ -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
*/ */


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ssh/LogListener.java View File

@@ -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);


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java View File

@@ -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
*/ */


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java View File

@@ -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.


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java View File

@@ -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>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java View File

@@ -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.


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/unix/Chgrp.java View File

@@ -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.
*/ */


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/unix/Chown.java View File

@@ -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.
*/ */


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSConstants.java View File

@@ -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";


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java View File

@@ -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() {


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

@@ -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
*/ */


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

@@ -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();
} }

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

@@ -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: ";


/** /**


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

@@ -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
*/ */


+ 3
- 3
src/main/org/apache/tools/ant/types/ArchiveFileSet.java View File

@@ -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.


+ 1
- 1
src/main/org/apache/tools/ant/types/ArchiveScanner.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/types/CommandlineJava.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/types/Environment.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/types/FilterSet.java View File

@@ -62,7 +62,7 @@ public class FilterSet extends DataType implements Cloneable {
} }


/** /**
* No-argument conmstructor.
* No-argument constructor.
*/ */
public Filter() { public Filter() {
} }


+ 1
- 1
src/main/org/apache/tools/ant/types/Parameterizable.java View File

@@ -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 {


+ 1
- 1
src/main/org/apache/tools/ant/types/Path.java View File

@@ -53,7 +53,7 @@ import org.apache.tools.ant.util.JavaEnvUtils;
* &lt;/sometask&gt;<br> * &lt;/sometask&gt;<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>


+ 1
- 1
src/main/org/apache/tools/ant/types/PropertySet.java View File

@@ -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()) {


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

@@ -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) {


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

@@ -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) {


+ 1
- 1
src/main/org/apache/tools/ant/types/optional/ScriptCondition.java View File

@@ -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() {


+ 1
- 1
src/main/org/apache/tools/ant/types/optional/image/Ellipse.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java View File

@@ -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.


+ 1
- 1
src/main/org/apache/tools/ant/types/resources/BZip2Resource.java View File

@@ -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


+ 1
- 1
src/main/org/apache/tools/ant/types/resources/selectors/Name.java View File

@@ -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


+ 1
- 1
src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java View File

@@ -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
*/ */


+ 1
- 1
src/main/org/apache/tools/ant/types/selectors/BaseSelectorContainer.java View File

@@ -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
*/ */


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save