diff --git a/src/main/org/apache/tools/ant/taskdefs/condition/FilesMatch.java b/src/main/org/apache/tools/ant/taskdefs/condition/FilesMatch.java index 9867905d0..a06011e5b 100644 --- a/src/main/org/apache/tools/ant/taskdefs/condition/FilesMatch.java +++ b/src/main/org/apache/tools/ant/taskdefs/condition/FilesMatch.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2002 The Apache Software Foundation. All rights + * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -60,7 +60,7 @@ import org.apache.tools.ant.util.FileUtils; /** * Compares two files for bitwise equality based on size and - * content. Timestamps are not looked at at all. + * content. Timestamps are not at all looked at. * * @author Steve Loughran * @version $Revision$ @@ -99,7 +99,7 @@ public class FilesMatch implements Condition { } /** - * comparision method of the interface + * comparison method of the interface * * @return true if the files are equal * @exception BuildException if it all went pear-shaped diff --git a/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java b/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java index c4a690e4f..d30a9f2c6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java +++ b/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java @@ -97,9 +97,9 @@ class ChangeLogParser { private final Hashtable m_entries = new Hashtable(); /** - * Get a list of rcs entrys as an array. + * Get a list of rcs entries as an array. * - * @return a list of rcs entrys as an array + * @return a list of rcs entries as an array */ CVSEntry[] getEntrySetAsArray() { final CVSEntry[] array = new CVSEntry[ m_entries.size() ]; diff --git a/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogTask.java b/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogTask.java index fbf188e45..2d8038707 100644 --- a/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogTask.java @@ -117,14 +117,14 @@ public class ChangeLogTask extends Task { /** Output file */ private File m_destfile; - /** The earliest date at which to start processing entrys. */ + /** The earliest date at which to start processing entries. */ private Date m_start; - /** The latest date at which to stop processing entrys. */ + /** The latest date at which to stop processing entries. */ private Date m_stop; /** - * Filesets containting list of files against which the cvs log will be + * Filesets containing list of files against which the cvs log will be * performed. If empty then all files will in the working directory will * be checked. */ @@ -359,7 +359,7 @@ public class ChangeLogTask extends Task { } /** - * Filter the specified entrys accoridn to an appropriate rule. + * Filter the specified entries according to an appropriate rule. * * @param entrySet the entry set to filter * @return the filtered entry set @@ -406,7 +406,7 @@ public class ChangeLogTask extends Task { * Print changelog to file specified in task. * * @param entrySet the entry set to write. - * @throws BuildException if theres an error writing changelog. + * @throws BuildException if there is an error writing changelog. */ private void writeChangeLog(final CVSEntry[] entrySet) throws BuildException { diff --git a/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java b/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java index 9b49ffc2e..ca7035b3f 100644 --- a/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java +++ b/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2002 The Apache Software Foundation. All rights + * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -65,10 +65,10 @@ import java.util.TimeZone; * @version $Revision$ $Date$ */ class ChangeLogWriter { - /** output format for dates writtn to xml file */ + /** output format for dates written to xml file */ private static final SimpleDateFormat c_outputDate = new SimpleDateFormat("yyyy-MM-dd"); - /** output format for times writtn to xml file */ + /** output format for times written to xml file */ private static final SimpleDateFormat c_outputTime = new SimpleDateFormat("HH:mm"); @@ -79,7 +79,7 @@ class ChangeLogWriter { } /** - * Print out the specifed entrys. + * Print out the specified entries. * * @param output writer to which to send output. * @param entries the entries to be written. diff --git a/src/main/org/apache/tools/ant/taskdefs/cvslib/CvsUser.java b/src/main/org/apache/tools/ant/taskdefs/cvslib/CvsUser.java index 2f5744cb8..20e5cb768 100644 --- a/src/main/org/apache/tools/ant/taskdefs/cvslib/CvsUser.java +++ b/src/main/org/apache/tools/ant/taskdefs/cvslib/CvsUser.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2002 The Apache Software Foundation. All rights + * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -102,7 +102,7 @@ public class CvsUser { /** * Get the user's full name * - * @return the usre's full name + * @return the user's full name */ String getDisplayname() { return m_displayName; @@ -110,7 +110,7 @@ public class CvsUser { /** - * validate that this objetc is configured. + * validate that this object is configured. * * @exception BuildException if the instance has not be correctly * configured. diff --git a/src/main/org/apache/tools/ant/taskdefs/cvslib/RCSFile.java b/src/main/org/apache/tools/ant/taskdefs/cvslib/RCSFile.java index 60445d81d..20139e71c 100644 --- a/src/main/org/apache/tools/ant/taskdefs/cvslib/RCSFile.java +++ b/src/main/org/apache/tools/ant/taskdefs/cvslib/RCSFile.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2002 The Apache Software Foundation. All rights + * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -54,7 +54,7 @@ package org.apache.tools.ant.taskdefs.cvslib; /** - * Represents a RCS File cheange. + * Represents a RCS File change. * * @author Peter Donald * @author Jeff Martin diff --git a/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java b/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java index 7d33888d7..8f1a8e28d 100644 --- a/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java @@ -254,7 +254,7 @@ public class EmailTask /** - * Add a message elemnt + * Add a message element * * @param message The message object * @throws BuildException if a message has already been added diff --git a/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java b/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java index a735dbffa..5ff62332c 100644 --- a/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java +++ b/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java @@ -98,7 +98,7 @@ public class MimeMailer extends Mailer { private static final String DEFAULT_CHARSET = System.getProperty("file.encoding"); - // To work poperly with national charsets we have to use + // To work properly with national charsets we have to use // implementation of interface javax.activation.DataSource /** * @since Ant 1.6 @@ -160,8 +160,8 @@ public class MimeMailer extends Mailer { props.put("mail.smtp.host", host); props.put("mail.smtp.port", String.valueOf(port)); - // Aside, the JDK is clearly unaware of the scottish - // 'session', which //involves excessive quantities of + // Aside, the JDK is clearly unaware of the Scottish + // 'session', which involves excessive quantities of // alcohol :-) Session sesh; Authenticator auth; @@ -214,7 +214,7 @@ public class MimeMailer extends Mailer { // Assign/reassign message charset from MimeType message.setCharset(charset); } else { - // Next: looking if charset having explict definition + // Next: looking if charset having explicit definition charset = message.getCharset(); if (charset == null) { // Using default diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java b/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java index d5315e899..5a75590f8 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2002 The Apache Software Foundation. All rights + * Copyright (c) 2001-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -252,7 +252,7 @@ public class IContract extends MatchingTask { private File targets = null; /** - * will be set to true if any of the sourca files are newer than the + * will be set to true if any of the source files are newer than the * instrumented files */ private boolean dirty = false; diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java b/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java index 520ad8d17..822a5f285 100755 --- a/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java @@ -326,7 +326,7 @@ public class Javah extends Task { // we need a way to not use the current classpath. /** - * Peforms a compile using the classic compiler that shipped with + * Performs a compile using the classic compiler that shipped with * JDK 1.1 and 1.2. */ @@ -431,7 +431,7 @@ public class Javah extends Task { /** * Logs the compilation parameters, adds the files to compile and logs the - * &qout;niceSourceList" + * "niceSourceList" */ protected void logAndAddFilesToCompile(Commandline cmd) { int n = 0; diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/Native2Ascii.java b/src/main/org/apache/tools/ant/taskdefs/optional/Native2Ascii.java index 8f213e0d3..cbeade6e8 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/Native2Ascii.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/Native2Ascii.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2000,2002 The Apache Software Foundation. All rights + * Copyright (c) 2000-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -240,7 +240,7 @@ public class Native2Ascii extends MatchingTask { } // Make intermediate directories if needed - // XXX JDK 1.1 dosen't have File.getParentFile, + // XXX JDK 1.1 doesn't have File.getParentFile, String parentName = destFile.getParent(); if (parentName != null) { File parentFile = new File(parentName); 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 dfd82aa2b..3a3fb6d54 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java @@ -720,7 +720,7 @@ public class NetRexxC extends MatchingTask { } - /** Peforms a copmile using the NetRexx 1.1.x compiler */ + /** Performs a compile using the NetRexx 1.1.x compiler */ private void doNetRexxCompile() throws BuildException { log("Using NetRexx compiler", Project.MSG_VERBOSE); diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.java b/src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.java index 2fafb09e1..dbd328e27 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.java @@ -511,7 +511,7 @@ public class PropertyFile extends Task { private void checkParameters() throws BuildException { if (type == Type.STRING_TYPE && operation == Operation.DECREMENT_OPER) { - throw new BuildException("- is not suported for string " + throw new BuildException("- is not supported for string " + "properties (key:" + key + ")"); } if (value == null && defaultValue == null) { @@ -522,7 +522,7 @@ public class PropertyFile extends Task { throw new BuildException("key is mandatory"); } if (type == Type.STRING_TYPE && pattern != null) { - throw new BuildException("pattern is not suported for string " + throw new BuildException("pattern is not supported for string " + "properties (key:" + key + ")"); } } diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java b/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java index 57ae9c480..708c6b315 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java @@ -79,7 +79,7 @@ import org.apache.tools.ant.util.regexp.Regexp; * file. The input file(s) must be able to be properly processed by * a Reader instance. That is, they must be text only, no binary. * - * The syntax of the regular expression depends on the implemtation that + * The syntax of the regular expression depends on the implementation that * you choose to use. The system property ant.regexp.regexpimpl * will be the classname of the implementation that will be used (the default * is org.apache.tools.ant.util.regexp.JakartaOroRegexp and @@ -218,7 +218,7 @@ public class ReplaceRegExp extends Task { * The flags to use when matching the regular expression. For more * information, consult the Perl5 syntax. *