- supressWarnings |
+ suppressWarnings |
Whether processor warnings shall be suppressed.
This option requires support by the processor, it is supported by
the trax processor bundled with Ant.
diff --git a/manual/Types/patternset.html b/manual/Types/patternset.html
index 3ece3ec5c..d060d04d9 100644
--- a/manual/Types/patternset.html
+++ b/manual/Types/patternset.html
@@ -98,7 +98,7 @@ your build file, you should use the includesfile/excludesfile
attributes or elements. Using the attribute, you can only specify a
single file of each type, while the nested elements can be specified
more than once - the nested elements also support if/unless attributes
-you can use to test the existance of a property.
+you can use to test the existence of a property.
Attribute |
diff --git a/manual/install.html b/manual/install.html
index 507b2c809..cf027ebbe 100644
--- a/manual/install.html
+++ b/manual/install.html
@@ -105,7 +105,7 @@ Choose the format that is best supported for your platform.
runtime. Such distributions are usually unsupported by everyone. Particularly
troublesome are those products that not only ship with their own Ant release,
they add their own version of ANT.BAT or ant.sh to the PATH. If Ant starts
- behaving wierdly after installing something, try the
+ behaving weirdly after installing something, try the
diagnostics advice.
diff --git a/manual/targets.html b/manual/targets.html
index 8453fd724..a778c950f 100644
--- a/manual/targets.html
+++ b/manual/targets.html
@@ -94,7 +94,7 @@
Only one propertyname can be specified in the if/unless
clause. If you want to check multiple conditions, you can use a
- dependend target for computing the result for the check:
+ dependent target for computing the result for the check:
<target name="myTarget" depends="myTarget.check" if="myTarget.run">
diff --git a/manual/tutorial-tasks-filesets-properties.html b/manual/tutorial-tasks-filesets-properties.html
index 1caa74bbf..5ba08f6ef 100644
--- a/manual/tutorial-tasks-filesets-properties.html
+++ b/manual/tutorial-tasks-filesets-properties.html
@@ -301,9 +301,9 @@ can implement our task, so that these test cases will pass.
is a common way, because we separate the prerequisites from the real work. On //2 we iterate
over all nested filesets. If we don't want to handle multiple filesets, the addFileset()
method has to reject the further calls. We can get the result of a fileset via its DirectoryScanner
-like done in //3. After that we create a platform independend String representation of
+like done in //3. After that we create a platform independent String representation of
the file path (//4, can be done in other ways of course). We have to do the replace(),
-because we work with a simple string comparison. Ant itself is platform independant and can
+because we work with a simple string comparison. Ant itself is platform independent and can
therefore run on filesystems with slash (/, e.g. Linux) or backslash (\, e.g. Windows) as
path separator. Therefore we have to unify that. If we found our file we create an absolute
path representation on //5, so that we can use that information without knowing the basedir.
diff --git a/src/etc/printFailingTests.xsl b/src/etc/printFailingTests.xsl
index c083bd84b..7d323404f 100644
--- a/src/etc/printFailingTests.xsl
+++ b/src/etc/printFailingTests.xsl
@@ -37,7 +37,7 @@
| .() :
-
+
diff --git a/src/etc/testcases/filters/tokenfilter.xml b/src/etc/testcases/filters/tokenfilter.xml
index e7b0b8b2c..a23bc82e9 100644
--- a/src/etc/testcases/filters/tokenfilter.xml
+++ b/src/etc/testcases/filters/tokenfilter.xml
@@ -184,7 +184,7 @@
-
+
hello Hello HELLO hello
@@ -226,7 +226,7 @@
-
+
hello world
@@ -256,7 +256,7 @@
-
+
SUITE(TestSuite, bits);
diff --git a/src/etc/testcases/taskdefs/concat.xml b/src/etc/testcases/taskdefs/concat.xml
index 2a3d151db..235b15289 100644
--- a/src/etc/testcases/taskdefs/concat.xml
+++ b/src/etc/testcases/taskdefs/concat.xml
@@ -63,7 +63,7 @@
-
diff --git a/src/etc/testcases/taskdefs/optional/antlr/antlr.xml b/src/etc/testcases/taskdefs/optional/antlr/antlr.xml
index 907a18ea8..21d3f14c7 100644
--- a/src/etc/testcases/taskdefs/optional/antlr/antlr.xml
+++ b/src/etc/testcases/taskdefs/optional/antlr/antlr.xml
@@ -74,7 +74,7 @@
-
+
diff --git a/src/main/org/apache/tools/ant/DirectoryScanner.java b/src/main/org/apache/tools/ant/DirectoryScanner.java
index 9049cc6c5..1c67f3f6f 100644
--- a/src/main/org/apache/tools/ant/DirectoryScanner.java
+++ b/src/main/org/apache/tools/ant/DirectoryScanner.java
@@ -1851,7 +1851,7 @@ public class DirectoryScanner
*
* Can only happen if the given directory has been seen at
* least more often than allowed during the current scan and it is
- * a symbolic link and enough other occurences of the same name
+ * a symbolic link and enough other occurrences of the same name
* higher up are symbolic links that point to the same place.
*
* @since Ant 1.8.0
diff --git a/src/main/org/apache/tools/ant/taskdefs/Available.java b/src/main/org/apache/tools/ant/taskdefs/Available.java
index 8e13eafbd..2fcb2967a 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Available.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Available.java
@@ -245,7 +245,7 @@ public class Available extends Task implements Condition {
Project.MSG_WARN);
}
// NB: this makes use of Project#setProperty rather than Project#setNewProperty
- // due to backwards compatiblity reasons
+ // due to backwards compatibility reasons
ph.setProperty(property, value, true);
}
} finally {
diff --git a/src/main/org/apache/tools/ant/taskdefs/Concat.java b/src/main/org/apache/tools/ant/taskdefs/Concat.java
index 45716f306..930ce27b6 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Concat.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Concat.java
@@ -475,9 +475,9 @@ public class Concat extends Task implements ResourceCollection {
private boolean forceOverwrite = true;
/** overwrite read-only files */
private boolean force = false;
- /** String to place at the start of the concatented stream */
+ /** String to place at the start of the concatenated stream */
private TextElement footer;
- /** String to place at the end of the concatented stream */
+ /** String to place at the end of the concatenated stream */
private TextElement header;
/** add missing line.separator to files **/
private boolean fixLastLine = false;
diff --git a/src/main/org/apache/tools/ant/taskdefs/Jar.java b/src/main/org/apache/tools/ant/taskdefs/Jar.java
index d351627b2..865715319 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Jar.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Jar.java
@@ -825,7 +825,7 @@ public class Jar extends Zip {
// this pass is only there to construct the merged
// manifest this means we claim an update was needed and
// only include the manifests, skipping any uptodate
- // checks here defering them for the second run
+ // checks here deferring them for the second run
Resource[][] manifests = grabManifests(rcs);
int count = 0;
for (int i = 0; i < manifests.length; i++) {
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java b/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
index 83ae93001..ed22d72b6 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
@@ -991,7 +991,7 @@ public class NetRexxC extends MatchingTask {
* Takes a classpath-like string, and adds each element of this string to
* a new classpath, if the components exist. Components that don't exist,
* aren't added. We do this, because jikes issues warnings for
- * non-existant files/dirs in his classpath, and these warnings are pretty
+ * non-existent files/dirs in his classpath, and these warnings are pretty
* annoying.
*
* @param target - target classpath
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java b/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
index 01f80c21d..edd1e9409 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
@@ -363,7 +363,7 @@ public class TraXLiaison implements XSLTLiaison4, ErrorListener, XSLTLoggerAware
}
/**
- * Sets the paramters for the transformer.
+ * Sets the parameters for the transformer.
*/
private void setTransformationParameters() {
for (final Enumeration enumeration = params.keys();
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
index 24798f4a5..c777feb72 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
@@ -99,7 +99,7 @@ public class XMLValidateTask extends Task {
private final Vector propertyList = new Vector();
private XMLCatalog xmlCatalog = new XMLCatalog();
- /** Message for sucessfull validation */
+ /** Message for successfull validation */
public static final String MESSAGE_FILES_VALIDATED
= " file(s) have been successfully validated.";
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java
index fc2e2566c..2c06daf17 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java
@@ -18,7 +18,7 @@
package org.apache.tools.ant.taskdefs.optional.extension;
/**
- * Enum used in (@link Extension) to indicate the compatability
+ * Enum used in (@link Extension) to indicate the compatibility
* of one extension to another. See (@link Extension) for instances
* of object.
*
@@ -33,23 +33,23 @@ package org.apache.tools.ant.taskdefs.optional.extension;
*/
public final class Compatability {
/**
- * A string representaiton of compatability level.
+ * A string representation of compatibility level.
*/
private final String name;
/**
- * Create a compatability enum with specified name.
+ * Create a compatibility enum with specified name.
*
- * @param name the name of compatability level
+ * @param name the name of compatibility level
*/
Compatability(final String name) {
this.name = name;
}
/**
- * Return name of compatability level.
+ * Return name of compatibility level.
*
- * @return the name of compatability level
+ * @return the name of compatibility level
*/
public String toString() {
return name;
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatibility.java b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatibility.java
index 0f91c66b2..bb28cd6b4 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatibility.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatibility.java
@@ -33,7 +33,7 @@ package org.apache.tools.ant.taskdefs.optional.extension;
*/
public final class Compatibility {
/**
- * A string representaiton of compatibility level.
+ * A string representation of compatibility level.
*/
private final String name;
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java
index c1c92f432..d13d2f4e3 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java
@@ -602,9 +602,9 @@ public final class Extension {
return;
}
- final String[] extentions = split(names, " ");
- for (int i = 0; i < extentions.length; i++) {
- final String prefix = extentions[ i ] + "-";
+ final String[] extensions = split(names, " ");
+ for (int i = 0; i < extensions.length; i++) {
+ final String prefix = extensions[ i ] + "-";
final Extension extension = getExtension(prefix, attributes);
if (null != extension) {
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/extension/JarLibManifestTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/extension/JarLibManifestTask.java
index 37b24a39e..a2e9b6b5c 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/extension/JarLibManifestTask.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/extension/JarLibManifestTask.java
@@ -253,7 +253,7 @@ public final class JarLibManifestTask extends Task {
* Append an attribute such as "Extension-List: lib0 lib1 lib2"
* using specified prefix and counting up to specified size.
* Also use specified extensionKey so that can generate list of
- * optional dependencies aswell.
+ * optional dependencies as well.
*
* @param size the number of librarys to list
* @param listPrefix the prefix for all librarys
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java b/src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java
index 9c2882fa8..b227d7d2d 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java
@@ -608,7 +608,7 @@ public class JspC extends MatchingTask {
*
* @param srcFile JSP source file
* @param javaFile JSP dest file
- * @return true if a compile is definately needed.
+ * @return true if a compile is definitely needed.
*
*/
private boolean isCompileNeeded(File srcFile, File javaFile) {
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java b/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
index 0bb28ce4f..50b6ed140 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
@@ -311,7 +311,7 @@ public class WLJspc extends MatchingTask {
/**
- * Replace occurances of a string with a replacement string.
+ * Replace occurrences of a string with a replacement string.
* @param inpString the string to convert.
* @param escapeChars the string to replace.
* @param replaceChars the string to place.
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java
index 71e97ac9e..3b3277417 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java
@@ -387,7 +387,7 @@ public class RExecTask extends Task {
}
/**
* Process a 'typical' login. If it differs, use the read
- * and write tasks explicitely
+ * and write tasks explicitly
*/
private void login(AntRExecClient rexec) {
if (addCarriageReturn) {
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
index 14357ea05..f296b8410 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
@@ -131,7 +131,7 @@ public class TelnetTask extends Task {
/**
* Process a 'typical' login. If it differs, use the read
- * and write tasks explicitely
+ * and write tasks explicitly
*/
private void login(AntTelnetClient telnet) {
if (addCarriageReturn) {
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java b/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java
index 3e105639c..c128fd632 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java
@@ -54,7 +54,7 @@ import org.apache.tools.ant.util.FileUtils;
*
* 19-04-2001 The task now has a more robust
- * parser. It allows for platform independant file paths
+ * parser. It allows for platform independent file paths
* and supports file names with (). Thanks to Erik Husby for
* bringing the bug to my attention.
*
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java b/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
index 40d469296..592c33aa8 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
@@ -757,7 +757,7 @@ public abstract class MSVSS extends Task implements MSVSSConstants {
}
/**
- * Extention of EnumeratedAttribute to hold the values for file time stamp.
+ * Extension of EnumeratedAttribute to hold the values for file time stamp.
*/
public static class CurrentModUpdated extends EnumeratedAttribute {
/**
@@ -770,7 +770,7 @@ public abstract class MSVSS extends Task implements MSVSSConstants {
}
/**
- * Extention of EnumeratedAttribute to hold the values for writable filess.
+ * Extension of EnumeratedAttribute to hold the values for writable filess.
*/
public static class WritableFiles extends EnumeratedAttribute {
/**
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java b/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java
index 8f3b8ec37..05ec91c2c 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java
@@ -185,7 +185,7 @@ public class MSVSSHISTORY extends MSVSS {
}
/**
- * Extention of EnumeratedAttribute to hold the values for style.
+ * Extension of EnumeratedAttribute to hold the values for style.
*/
public static class BriefCodediffNofile extends EnumeratedAttribute {
/**
diff --git a/src/main/org/apache/tools/ant/types/Environment.java b/src/main/org/apache/tools/ant/types/Environment.java
index cc47b3f6f..ac231e2f0 100644
--- a/src/main/org/apache/tools/ant/types/Environment.java
+++ b/src/main/org/apache/tools/ant/types/Environment.java
@@ -106,7 +106,7 @@ public class Environment {
}
/**
- * get the assigment string
+ * get the assignment string
* This is not ready for insertion into a property file without following
* the escaping rules of the properties class.
* @return a string of the form key=value.
diff --git a/src/main/org/apache/tools/ant/types/optional/image/ColorMapper.java b/src/main/org/apache/tools/ant/types/optional/image/ColorMapper.java
index b2e2d2c21..88e2871a2 100644
--- a/src/main/org/apache/tools/ant/types/optional/image/ColorMapper.java
+++ b/src/main/org/apache/tools/ant/types/optional/image/ColorMapper.java
@@ -40,7 +40,7 @@ public final class ColorMapper {
public static final String COLOR_GRAY = "gray";
/** lightgray string */
public static final String COLOR_LIGHTGRAY = "lightgray";
- // Gotta atleast put in the proper spelling :-P
+ // Gotta at least put in the proper spelling :-P
/** darkgrey string */
public static final String COLOR_DARKGREY = "darkgrey";
/** grey string */
diff --git a/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java b/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
index 3015ba3ba..8dcd017bf 100644
--- a/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
+++ b/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
@@ -817,7 +817,7 @@ public class ModifiedSelector extends BaseExtendSelector
/**
* Signals that a target has finished.
- * @param event recieved BuildEvent
+ * @param event received BuildEvent
*/
public void targetFinished(BuildEvent event) {
if (getDelayUpdate()) {
@@ -828,7 +828,7 @@ public class ModifiedSelector extends BaseExtendSelector
/**
* Signals that a task has finished.
- * @param event recieved BuildEvent
+ * @param event received BuildEvent
*/
public void taskFinished(BuildEvent event) {
if (getDelayUpdate()) {
@@ -839,7 +839,7 @@ public class ModifiedSelector extends BaseExtendSelector
/**
* Signals that a build has started.
- * @param event recieved BuildEvent
+ * @param event received BuildEvent
*/
public void buildStarted(BuildEvent event) {
// no-op
@@ -858,7 +858,7 @@ public class ModifiedSelector extends BaseExtendSelector
/**
* Signals that a task is starting.
- * @param event recieved BuildEvent
+ * @param event received BuildEvent
*/
public void taskStarted(BuildEvent event) {
// no-op
@@ -867,7 +867,7 @@ public class ModifiedSelector extends BaseExtendSelector
/**
* Signals a message logging event.
- * @param event recieved BuildEvent
+ * @param event received BuildEvent
*/
public void messageLogged(BuildEvent event) {
// no-op
diff --git a/src/main/org/apache/tools/ant/util/ResourceUtils.java b/src/main/org/apache/tools/ant/util/ResourceUtils.java
index 2b1e7cbfd..16a139a7d 100644
--- a/src/main/org/apache/tools/ant/util/ResourceUtils.java
+++ b/src/main/org/apache/tools/ant/util/ResourceUtils.java
@@ -567,9 +567,9 @@ public class ResourceUtils {
/**
* Binary compares the contents of two Resources.
*
- * simple but sub-optimal comparision algorithm. written for working
+ * simple but sub-optimal comparison algorithm. written for working
* rather than fast. Better would be a block read into buffers followed
- * by long comparisions apart from the final 1-7 bytes.
+ * by long comparisons apart from the final 1-7 bytes.
*
*
* @param r1 the Resource whose content is to be compared.
diff --git a/src/main/org/apache/tools/bzip2/CBZip2InputStream.java b/src/main/org/apache/tools/bzip2/CBZip2InputStream.java
index 1ce0ce0a4..62315d122 100644
--- a/src/main/org/apache/tools/bzip2/CBZip2InputStream.java
+++ b/src/main/org/apache/tools/bzip2/CBZip2InputStream.java
@@ -1031,7 +1031,7 @@ public class CBZip2InputStream extends InputStream implements BZip2Constants {
*
* This method is called when the required length of the array
* is known. I don't initialize it at construction time to
- * avoid unneccessary memory allocation when compressing small
+ * avoid unnecessary memory allocation when compressing small
* files.
*/
final int[] initTT(int length) {
diff --git a/src/main/org/apache/tools/zip/ZipEncodingHelper.java b/src/main/org/apache/tools/zip/ZipEncodingHelper.java
index f4ca79d19..b32f902b3 100644
--- a/src/main/org/apache/tools/zip/ZipEncodingHelper.java
+++ b/src/main/org/apache/tools/zip/ZipEncodingHelper.java
@@ -194,7 +194,7 @@ public abstract class ZipEncodingHelper {
static final String UTF8 = "UTF8";
/**
- * variant name of the encoding UTF-8 used for comparisions.
+ * variant name of the encoding UTF-8 used for comparisons.
*/
private static final String UTF_DASH_8 = "utf-8";
diff --git a/src/tests/antunit/taskdefs/defaultexcludes-test.xml b/src/tests/antunit/taskdefs/defaultexcludes-test.xml
index a2f80342a..cbea93c20 100644
--- a/src/tests/antunit/taskdefs/defaultexcludes-test.xml
+++ b/src/tests/antunit/taskdefs/defaultexcludes-test.xml
@@ -23,7 +23,7 @@
-
@@ -32,7 +32,7 @@
-
@@ -41,7 +41,7 @@
-
diff --git a/src/tests/junit/org/apache/tools/ant/ProjectHelperRepositoryTest.java b/src/tests/junit/org/apache/tools/ant/ProjectHelperRepositoryTest.java
index ab3c1bb80..9afecd8cb 100644
--- a/src/tests/junit/org/apache/tools/ant/ProjectHelperRepositoryTest.java
+++ b/src/tests/junit/org/apache/tools/ant/ProjectHelperRepositoryTest.java
@@ -71,7 +71,7 @@ public class ProjectHelperRepositoryTest extends TestCase {
assertTrue(helper instanceof ProjectHelper2);
}
- public void testNoDefaultContructor() throws Exception {
+ public void testNoDefaultConstructor() throws Exception {
class IncrrectHelper extends ProjectHelper {
// the default constructor is not visible to ant here
}
diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/PropertyFileTest.java b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/PropertyFileTest.java
index 012294bc8..9996389f8 100644
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/PropertyFileTest.java
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/PropertyFileTest.java
@@ -25,7 +25,7 @@ import java.util.Properties;
import org.apache.tools.ant.BuildFileTest;
/**
- * JUnit testcase that excercises the optional PropertyFile task in ant.
+ * JUnit testcase that exercises the optional PropertyFile task in ant.
* (this is really more of a functional test so far.., but it's enough to let
* me start refactoring...)
*
@@ -70,7 +70,7 @@ public class PropertyFileTest extends BuildFileTest {
}
/**
- * A unit test for JUnit- Excercises the propertyfile tasks ability to
+ * A unit test for JUnit- Exercises the propertyfile tasks ability to
* update properties that are already defined-
*/
public void testUpdatesExistingProperties() throws Exception {
|