From 08084b4e5c26211fb4fb4335d175f1e9c33be1bf Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Tue, 16 Sep 2003 09:08:57 +0000 Subject: [PATCH] Next round of typo fixes by Larry Shatzer git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275242 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Copy.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Filter.java | 4 ++-- src/main/org/apache/tools/ant/taskdefs/FixCRLF.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Get.java | 4 ++-- src/main/org/apache/tools/ant/taskdefs/Input.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Jar.java | 4 ++-- src/main/org/apache/tools/ant/taskdefs/Java.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Javac.java | 12 ++++++------ src/main/org/apache/tools/ant/taskdefs/Javadoc.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Jikes.java | 6 +++--- .../apache/tools/ant/taskdefs/JikesOutputParser.java | 8 ++++---- src/main/org/apache/tools/ant/taskdefs/KeySubst.java | 4 ++-- .../apache/tools/ant/taskdefs/LogOutputStream.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Sync.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Tar.java | 8 ++++---- .../apache/tools/ant/taskdefs/TaskOutputStream.java | 4 ++-- src/main/org/apache/tools/ant/taskdefs/Taskdef.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Tstamp.java | 6 +++--- src/main/org/apache/tools/ant/taskdefs/Untar.java | 4 ++-- src/main/org/apache/tools/ant/taskdefs/WaitFor.java | 6 +++--- src/main/org/apache/tools/ant/taskdefs/War.java | 2 +- .../org/apache/tools/ant/taskdefs/XSLTProcess.java | 4 ++-- src/main/org/apache/tools/ant/taskdefs/Zip.java | 2 +- .../ant/taskdefs/compilers/CompilerAdapter.java | 6 +++--- .../taskdefs/compilers/CompilerAdapterFactory.java | 6 +++--- .../taskdefs/compilers/DefaultCompilerAdapter.java | 4 ++-- .../apache/tools/ant/taskdefs/compilers/Jikes.java | 2 +- .../org/apache/tools/ant/taskdefs/compilers/Kjc.java | 4 ++-- .../tools/ant/taskdefs/condition/ConditionBase.java | 2 +- .../apache/tools/ant/taskdefs/condition/Equals.java | 2 +- 30 files changed, 60 insertions(+), 60 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Copy.java b/src/main/org/apache/tools/ant/taskdefs/Copy.java index f6a1b9e3e..b9ba13328 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Copy.java +++ b/src/main/org/apache/tools/ant/taskdefs/Copy.java @@ -193,7 +193,7 @@ public class Copy extends Task { /** * Give the copied files the same last modified time as the original files. - * @param preserve if true preserve the modified time, default is false + * @param preserve if true perverse the modified time, default is false */ public void setPreserveLastModified(boolean preserve) { preserveLastModified = preserve; diff --git a/src/main/org/apache/tools/ant/taskdefs/Filter.java b/src/main/org/apache/tools/ant/taskdefs/Filter.java index 245dccb44..a9a275000 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Filter.java +++ b/src/main/org/apache/tools/ant/taskdefs/Filter.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 @@ -61,7 +61,7 @@ import org.apache.tools.ant.Task; /** * Sets a token filter that is used by the file copy tasks - * to do token substitution. Sets mutiple tokens by + * to do token substitution. Sets multiple tokens by * reading these from a file. * * @author Stefano Mazzocchi diff --git a/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java b/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java index fee191b19..238627254 100644 --- a/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java +++ b/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java @@ -672,7 +672,7 @@ public class FixCRLF extends MatchingTask { /** - * Process a BufferLine string which is not part of of a string constant. + * Process a BufferLine string which is not part of a string constant. * The start position of the string is given by the 'next' field. * Sets the 'next' and 'column' fields in the BufferLine. * diff --git a/src/main/org/apache/tools/ant/taskdefs/Get.java b/src/main/org/apache/tools/ant/taskdefs/Get.java index 216e0894a..9b2582aad 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Get.java +++ b/src/main/org/apache/tools/ant/taskdefs/Get.java @@ -171,7 +171,7 @@ public class Get extends Task { //not modified so no file download. just return //instead and trace out something so the user //doesn't think that the download happened when it - //didnt + //didn't log("Not modified - so not downloaded"); return; } @@ -192,7 +192,7 @@ public class Get extends Task { //REVISIT: at this point even non HTTP connections may //support the if-modified-since behaviour -we just check //the date of the content and skip the write if it is not - //newer. Some protocols (FTP) dont include dates, of + //newer. Some protocols (FTP) don't include dates, of //course. InputStream is = null; diff --git a/src/main/org/apache/tools/ant/taskdefs/Input.java b/src/main/org/apache/tools/ant/taskdefs/Input.java index e6b61536f..09975089f 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Input.java +++ b/src/main/org/apache/tools/ant/taskdefs/Input.java @@ -92,7 +92,7 @@ public class Input extends Task { /** * Defines the name of a property to be created from input. Behaviour is * according to property task which means that existing properties - * cannot be overriden. + * cannot be overridden. * * @param addproperty Name for the property to be created from input */ diff --git a/src/main/org/apache/tools/ant/taskdefs/Jar.java b/src/main/org/apache/tools/ant/taskdefs/Jar.java index 00fc81c22..02c9de0e5 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Jar.java +++ b/src/main/org/apache/tools/ant/taskdefs/Jar.java @@ -93,7 +93,7 @@ public class Jar extends Zip { /** The index file name. */ private static final String INDEX_NAME = "META-INF/INDEX.LIST"; - /** The mainfest file name. */ + /** The manifest file name. */ private static final String MANIFEST_NAME = "META-INF/MANIFEST.MF"; /** merged manifests added through addConfiguredManifest */ @@ -483,7 +483,7 @@ public class Jar extends Zip { } /** - * Overriden from Zip class to deal with manifests and index lists. + * Overridden from Zip class to deal with manifests and index lists. */ protected void zipFile(InputStream is, ZipOutputStream zOut, String vPath, long lastModified, File fromArchive, int mode) diff --git a/src/main/org/apache/tools/ant/taskdefs/Java.java b/src/main/org/apache/tools/ant/taskdefs/Java.java index 031b1dae0..14e4aef6e 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Java.java +++ b/src/main/org/apache/tools/ant/taskdefs/Java.java @@ -803,7 +803,7 @@ public class Java extends Task { * * @return new watchdog * - * @throws BuildException under unknown circumnstances + * @throws BuildException under unknown circumstances * * @since Ant 1.5 */ diff --git a/src/main/org/apache/tools/ant/taskdefs/Javac.java b/src/main/org/apache/tools/ant/taskdefs/Javac.java index 97650705c..75624aa24 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Javac.java +++ b/src/main/org/apache/tools/ant/taskdefs/Javac.java @@ -82,7 +82,7 @@ import org.apache.tools.ant.util.facade.FacadeTaskHelper; *
  • encoding *
  • target *
  • depend - *
  • vebose + *
  • verbose *
  • failonerror *
  • includeantruntime *
  • includejavaruntime @@ -243,7 +243,7 @@ public class Javac extends MatchingTask { /** * Gets the source dirs to find the source java files. - * @return the source directorys as a path + * @return the source directories as a path */ public Path getSrcdir() { return src; @@ -660,7 +660,7 @@ public class Javac extends MatchingTask { } /** - * Sets the the name of the javac executable. + * Sets the name of the javac executable. * *

    Ignored unless fork is true or extJavac has been specified * as the compiler.

    @@ -765,7 +765,7 @@ public class Javac extends MatchingTask { * Where Ant should place temporary files. * * @since Ant 1.6 - * @return the temorary directory + * @return the temporary directory */ public File getTempdir() { return tmpDir; @@ -875,7 +875,7 @@ public class Javac extends MatchingTask { /** * The implementation for this particular task. * - *

    Defaults to the build.compiler property but can be overriden + *

    Defaults to the build.compiler property but can be overridden * via the compiler and fork attributes.

    * *

    If fork has been set to true, the result will be extJavac @@ -906,7 +906,7 @@ public class Javac extends MatchingTask { /** * The implementation for this particular task. * - *

    Defaults to the build.compiler property but can be overriden + *

    Defaults to the build.compiler property but can be overridden * via the compiler attribute.

    * *

    This method does not take the fork attribute into diff --git a/src/main/org/apache/tools/ant/taskdefs/Javadoc.java b/src/main/org/apache/tools/ant/taskdefs/Javadoc.java index 45b80340f..8c266e5c2 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Javadoc.java +++ b/src/main/org/apache/tools/ant/taskdefs/Javadoc.java @@ -1173,7 +1173,7 @@ public class Javadoc extends Task { /** * Control warnings about serial tag. * - * @param b if true, generate warning aboutthe serial tag. + * @param b if true, generate warning about the serial tag. */ public void setSerialwarn(boolean b) { add12ArgIf(b, "-serialwarn"); diff --git a/src/main/org/apache/tools/ant/taskdefs/Jikes.java b/src/main/org/apache/tools/ant/taskdefs/Jikes.java index bd9bf11c5..6c60f9cc5 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Jikes.java +++ b/src/main/org/apache/tools/ant/taskdefs/Jikes.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,2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -79,9 +79,9 @@ public class Jikes { protected Project project; /** - * Constructs a new Jikes obect. + * Constructs a new Jikes object. * @param jop - Parser to send jike's output to - * @param command - name of jikes executeable + * @param command - name of jikes executable */ protected Jikes(JikesOutputParser jop, String command, Project project) { super(); diff --git a/src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java b/src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java index a1fc361ac..4873cd8dd 100644 --- a/src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java +++ b/src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.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,2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -117,7 +117,7 @@ public class JikesOutputParser implements ExecuteStreamHandler { /** * Construct a new Parser object - * @param task - task in whichs context we are called + * @param task - task in which context we are called */ protected JikesOutputParser(Task task, boolean emacsMode) { super(); @@ -147,7 +147,7 @@ public class JikesOutputParser implements ExecuteStreamHandler { private void parseStandardOutput(BufferedReader reader) throws IOException { String line; String lower; - // We assume, that every output, jike does, stands for an error/warning + // We assume, that every output, jikes does, stands for an error/warning // XXX // Is this correct? @@ -201,7 +201,7 @@ public class JikesOutputParser implements ExecuteStreamHandler { /** * Indicate if there were errors during the compile - * @return if errors ocured + * @return if errors occurred */ protected boolean getErrorFlag() { return errorFlag; diff --git a/src/main/org/apache/tools/ant/taskdefs/KeySubst.java b/src/main/org/apache/tools/ant/taskdefs/KeySubst.java index 1b5fbc2d9..4859adb05 100644 --- a/src/main/org/apache/tools/ant/taskdefs/KeySubst.java +++ b/src/main/org/apache/tools/ant/taskdefs/KeySubst.java @@ -87,7 +87,7 @@ public class KeySubst extends Task { */ public void execute() throws BuildException { log("!! KeySubst is deprecated. Use Filter + Copy instead. !!"); - log("Performing Substitions"); + log("Performing Substitutions"); if (source == null || dest == null) { log("Source and destinations must not be null"); return; @@ -148,7 +148,7 @@ public class KeySubst extends Task { } /** - Sets the seperator between name=value arguments + Sets the separator between name=value arguments in setKeys(). By default it is "*". */ public void setSep(String sep) { diff --git a/src/main/org/apache/tools/ant/taskdefs/LogOutputStream.java b/src/main/org/apache/tools/ant/taskdefs/LogOutputStream.java index e0e492f6f..d6e6b6ef5 100644 --- a/src/main/org/apache/tools/ant/taskdefs/LogOutputStream.java +++ b/src/main/org/apache/tools/ant/taskdefs/LogOutputStream.java @@ -171,7 +171,7 @@ public class LogOutputStream extends OutputStream { /** * Write a block of characters to the output stream * - * @param b the array containg the data + * @param b the array containing the data * @param off the offset into the array where data starts * @param len the length of block * diff --git a/src/main/org/apache/tools/ant/taskdefs/Sync.java b/src/main/org/apache/tools/ant/taskdefs/Sync.java index 9a38d8771..0440afaec 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Sync.java +++ b/src/main/org/apache/tools/ant/taskdefs/Sync.java @@ -168,7 +168,7 @@ public class Sync extends Task { } /** - * Removes all files and folders not found as keyes of a table + * Removes all files and folders not found as keys of a table * (used as a set!). * *

    If the provided file is a directory, it is recursively diff --git a/src/main/org/apache/tools/ant/taskdefs/Tar.java b/src/main/org/apache/tools/ant/taskdefs/Tar.java index 520e958fd..82af2d3c6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Tar.java +++ b/src/main/org/apache/tools/ant/taskdefs/Tar.java @@ -172,7 +172,7 @@ public class Tar extends MatchingTask { * Allowable values are *