diff --git a/src/main/org/apache/tools/ant/taskdefs/MacroDef.java b/src/main/org/apache/tools/ant/taskdefs/MacroDef.java index cd3dd6ba4..46e00a80e 100644 --- a/src/main/org/apache/tools/ant/taskdefs/MacroDef.java +++ b/src/main/org/apache/tools/ant/taskdefs/MacroDef.java @@ -126,7 +126,7 @@ public class MacroDef extends Task implements AntlibInterface, TaskContainer { } /** - * Expermential + * Experimental * I am uncertain at the moment how to encode attributes * using ant style ${attribute} or xpath style @attribute. * The first may get mixed up with ant properties and @@ -140,7 +140,7 @@ public class MacroDef extends Task implements AntlibInterface, TaskContainer { } /** - * Expermential + * Experimental * @return the attribute style */ public int getAttributeStyle() { @@ -511,7 +511,7 @@ public class MacroDef extends Task implements AntlibInterface, TaskContainer { } /** - * Similiar method for this definition + * Similar method for this definition * * @param other another definition * @param project the current project diff --git a/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java b/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java index 856f4c053..326067ce3 100644 --- a/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java +++ b/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java @@ -75,7 +75,7 @@ import org.apache.tools.ant.RuntimeConfigurable; * The class to be placed in the ant type definition. * It is given a pointer to the template definition, * and makes a copy of the unknown element, substituting - * the the parameter values in attributes and text. + * the parameter values in attributes and text. * @author Peter Reilly * @since Ant 1.6 */ diff --git a/src/main/org/apache/tools/ant/taskdefs/Manifest.java b/src/main/org/apache/tools/ant/taskdefs/Manifest.java index 4abdafd10..49957f8fb 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Manifest.java +++ b/src/main/org/apache/tools/ant/taskdefs/Manifest.java @@ -321,7 +321,7 @@ public class Manifest { * * @param writer the Writer to which the attribute is written * - * @throws IOException if the attribte value cannot be written + * @throws IOException if the attribute value cannot be written */ public void write(PrintWriter writer) throws IOException { for (Enumeration e = getValues(); e.hasMoreElements();) { @@ -335,7 +335,7 @@ public class Manifest { * @param writer the Writer to which the attribute is written * @param value the attribute value * - * @throws IOException if the attribte value cannot be written + * @throws IOException if the attribute value cannot be written */ private void writeValue(PrintWriter writer, String value) throws IOException { @@ -857,7 +857,7 @@ public class Manifest { * @param other the Manifest to be merged with this one. * * @throws ManifestException if there is a problem merging the - * manfest according to the Manifest spec. + * manifest according to the Manifest spec. */ public void merge(Manifest other) throws ManifestException { merge(other, false); @@ -871,7 +871,7 @@ public class Manifest { * of the current manifest * * @throws ManifestException if there is a problem merging the - * manfest according to the Manifest spec. + * manifest according to the Manifest spec. */ public void merge(Manifest other, boolean overwriteMain) throws ManifestException { diff --git a/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java b/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java index 77616c716..3049dced6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java @@ -474,7 +474,7 @@ public abstract class MatchingTask extends Task implements SelectorContainer { } /** - * Accessor for the implict fileset. + * Accessor for the implicit fileset. * * @since Ant 1.5.2 */ diff --git a/src/main/org/apache/tools/ant/taskdefs/Move.java b/src/main/org/apache/tools/ant/taskdefs/Move.java index f2a8a1b55..2b0b3030a 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Move.java +++ b/src/main/org/apache/tools/ant/taskdefs/Move.java @@ -365,7 +365,7 @@ public class Move extends Copy { } else { if (!filtering) { // ensure that parent dir of dest file exists! - // not using getParentFile method to stay 1.1 compat + // not using getParentFile method to stay 1.1 compatibility String parentPath = destFile.getParent(); if (parentPath != null) { File parent = new File(parentPath); diff --git a/src/main/org/apache/tools/ant/taskdefs/Parallel.java b/src/main/org/apache/tools/ant/taskdefs/Parallel.java index cd3d8dc22..0a67291ec 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Parallel.java +++ b/src/main/org/apache/tools/ant/taskdefs/Parallel.java @@ -207,7 +207,7 @@ public class Parallel extends Task * is set and the JVM is at least a 1.4 VM then this value is * ignored.; optional * - * @param numThreads total number of therads. + * @param numThreads total number of threads. * */ public void setThreadCount(int numThreads) { @@ -351,7 +351,7 @@ public class Parallel extends Task running[i] = runnables[threadNumber++]; Thread thread = new Thread(group, running[i]); thread.start(); - // countinue on outer while loop to get another + // continue on outer while loop to get another // available slot continue outer; } @@ -362,7 +362,7 @@ public class Parallel extends Task try { semaphore.wait(); } catch (InterruptedException ie) { - // dosen't java know interruptions are rude? + // doesn't java know interruptions are rude? // just pretend it didn't happen and go about out business. // sheesh! } @@ -442,7 +442,7 @@ public class Parallel extends Task /** * Construct a new TaskRunnable.

* - * @param task the Task to be executed in a seperate thread + * @param task the Task to be executed in a separate thread */ TaskRunnable(Task task) { this.task = task; diff --git a/src/main/org/apache/tools/ant/taskdefs/Patch.java b/src/main/org/apache/tools/ant/taskdefs/Patch.java index d45f88b39..ee979893d 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Patch.java +++ b/src/main/org/apache/tools/ant/taskdefs/Patch.java @@ -150,7 +150,7 @@ public class Patch extends Task { /** * Work silently unless an error occurs; optional, default=false - * @param q if true supress set the -s option on the patch command + * @param q if true suppress set the -s option on the patch command */ public void setQuiet(boolean q) { if (q) { diff --git a/src/main/org/apache/tools/ant/taskdefs/PreSetDef.java b/src/main/org/apache/tools/ant/taskdefs/PreSetDef.java index 79e6a2a36..b43860c72 100644 --- a/src/main/org/apache/tools/ant/taskdefs/PreSetDef.java +++ b/src/main/org/apache/tools/ant/taskdefs/PreSetDef.java @@ -288,7 +288,7 @@ public class PreSetDef extends Task implements AntlibInterface, TaskContainer { } /** - * Similiar method for this definition + * Similar method for this definition * * @param other another definition * @param project the current project diff --git a/src/main/org/apache/tools/ant/taskdefs/Property.java b/src/main/org/apache/tools/ant/taskdefs/Property.java index 00586f982..660f97879 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Property.java +++ b/src/main/org/apache/tools/ant/taskdefs/Property.java @@ -74,7 +74,7 @@ import org.apache.tools.ant.types.Reference; * Sets a property by name, or set of properties (from file or * resource) in the project.

* Properties are immutable: whoever sets a property first freezes it for the - * rest of the build; they are most definately not variable. + * rest of the build; they are most definitely not variable. *

There are five ways to set properties:

*