diff --git a/WHATSNEW b/WHATSNEW index 11f20da08..7ef320266 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -15,7 +15,7 @@ Fixed bugs: Bugzilla Reports 52738, 52740, 52742, 52743. * Updated documentation to fix spelling errors / broken links. - Bugzilla Reports 53215, 53291 (excluding api) + Bugzilla Reports 53215, 53291 Other changes: -------------- diff --git a/src/main/org/apache/tools/ant/AntTypeDefinition.java b/src/main/org/apache/tools/ant/AntTypeDefinition.java index 9755041e7..1abd47a72 100644 --- a/src/main/org/apache/tools/ant/AntTypeDefinition.java +++ b/src/main/org/apache/tools/ant/AntTypeDefinition.java @@ -25,7 +25,7 @@ import java.lang.reflect.Constructor; /** * This class contains all the information * on a particular ant type, - * the classname, adaptor and the class + * the classname, adapter and the class * it should be assignable from. * This type replaces the task/datatype split * of pre ant 1.6. @@ -239,7 +239,7 @@ public class AntTypeDefinition { *
*
  • if the class can be created.
  • *
  • if an adapter class can be created
  • - *
  • if the type is assignable from adapto
  • + *
  • if the type is assignable from adapter
  • *
  • if the type can be used with the adapter class
  • *
    * @param project the current project. @@ -302,7 +302,7 @@ public class AntTypeDefinition { * @param newclass class to create * @param project the project to use * @return a newly constructed and bound instance. - * @throws NoSuchMethodException no good construtor. + * @throws NoSuchMethodException no good constructor. * @throws InstantiationException cannot initialize the object. * @throws IllegalAccessException cannot access the object. * @throws InvocationTargetException error in invocation. diff --git a/src/main/org/apache/tools/ant/ComponentHelper.java b/src/main/org/apache/tools/ant/ComponentHelper.java index ad32faf63..f6001ffda 100644 --- a/src/main/org/apache/tools/ant/ComponentHelper.java +++ b/src/main/org/apache/tools/ant/ComponentHelper.java @@ -389,7 +389,7 @@ public class ComponentHelper { /** * Returns the current task definition hashtable. The returned hashtable is * "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 * (String to Class). @@ -448,7 +448,7 @@ public class ComponentHelper { /** * This returns a list of restricted definitions for a name. * 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. * * @param componentName the name to use. diff --git a/src/main/org/apache/tools/ant/ProjectHelper.java b/src/main/org/apache/tools/ant/ProjectHelper.java index 599aa0b62..7b61160ba 100644 --- a/src/main/org/apache/tools/ant/ProjectHelper.java +++ b/src/main/org/apache/tools/ant/ProjectHelper.java @@ -207,7 +207,7 @@ public class ProjectHelper { /** * The separator between the prefix and the target name. * - *

    May be set by <import>'s prefixSeperator attribute.

    + *

    May be set by <import>'s prefixSeparator attribute.

    * * @since Ant 1.8.0 */ @@ -484,7 +484,7 @@ public class ProjectHelper { * For BC purposes the names from the ant core uri will be * mapped to "name", other names will be mapped to * uri + ":" + name. - * @param uri The namepace URI + * @param uri The namespace URI * @param name The localname * @return The stringified form of the ns name */ diff --git a/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java b/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java index 1b88d5f0d..e1920d1d1 100644 --- a/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java +++ b/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java @@ -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 * source. *

    - * This attribute is only used in assocation with the "tab" + * This attribute is only used in association with the "tab" * attribute. Tabs found in Java literals are protected from changes by this * filter. * diff --git a/src/main/org/apache/tools/ant/filters/SortFilter.java b/src/main/org/apache/tools/ant/filters/SortFilter.java index 8c3261fd9..7c5099190 100644 --- a/src/main/org/apache/tools/ant/filters/SortFilter.java +++ b/src/main/org/apache/tools/ant/filters/SortFilter.java @@ -84,7 +84,7 @@ import org.apache.tools.ant.types.Parameter; * Sort all files *.txt from src location using as * sorting criterium EvenFirstCmp class, that sorts the file * lines putting even lines first then odd lines for example. The modified files - * are copied into build location. The EventFirstCmp, + * are copied into build location. The EvenFirstCmp, * has to an instanciable class via Class.newInstance(), * therefore in case of inner class has to be static. It also has to * implement java.util.Comparator interface, for example: diff --git a/src/main/org/apache/tools/ant/filters/TabsToSpaces.java b/src/main/org/apache/tools/ant/filters/TabsToSpaces.java index 453899c90..ea6125136 100644 --- a/src/main/org/apache/tools/ant/filters/TabsToSpaces.java +++ b/src/main/org/apache/tools/ant/filters/TabsToSpaces.java @@ -26,7 +26,7 @@ import org.apache.tools.ant.types.Parameter; * * Example: * - *

    <tabtospaces tablength="8"/>
    + *
    <tabstospaces tablength="8"/>
    * * Or: * diff --git a/src/main/org/apache/tools/ant/helper/ProjectHelper2.java b/src/main/org/apache/tools/ant/helper/ProjectHelper2.java index fc204c5af..bda99346e 100644 --- a/src/main/org/apache/tools/ant/helper/ProjectHelper2.java +++ b/src/main/org/apache/tools/ant/helper/ProjectHelper2.java @@ -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 */ diff --git a/src/main/org/apache/tools/ant/listener/MailLogger.java b/src/main/org/apache/tools/ant/listener/MailLogger.java index a31152a54..1be1a2288 100644 --- a/src/main/org/apache/tools/ant/listener/MailLogger.java +++ b/src/main/org/apache/tools/ant/listener/MailLogger.java @@ -46,9 +46,9 @@ import org.apache.tools.mail.MailMessage; *