Browse Source

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
master
Peter Reilly 21 years ago
parent
commit
08084b4e5c
30 changed files with 60 additions and 60 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Copy.java
  2. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/Filter.java
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/FixCRLF.java
  4. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/Get.java
  5. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Input.java
  6. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/Jar.java
  7. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Java.java
  8. +6
    -6
      src/main/org/apache/tools/ant/taskdefs/Javac.java
  9. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  10. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/Jikes.java
  11. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java
  12. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/KeySubst.java
  13. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/LogOutputStream.java
  14. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Sync.java
  15. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/Tar.java
  16. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/TaskOutputStream.java
  17. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Taskdef.java
  18. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/Tstamp.java
  19. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/Untar.java
  20. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/WaitFor.java
  21. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/War.java
  22. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
  23. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Zip.java
  24. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapter.java
  25. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
  26. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
  27. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java
  28. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/compilers/Kjc.java
  29. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
  30. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/condition/Equals.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Copy.java View File

@@ -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;


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/Filter.java View File

@@ -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


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/FixCRLF.java View File

@@ -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.
*


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/Get.java View File

@@ -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;


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Input.java View File

@@ -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
*/


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/Jar.java View File

@@ -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)


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Java.java View File

@@ -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
*/


+ 6
- 6
src/main/org/apache/tools/ant/taskdefs/Javac.java View File

@@ -82,7 +82,7 @@ import org.apache.tools.ant.util.facade.FacadeTaskHelper;
* <li>encoding
* <li>target
* <li>depend
* <li>vebose
* <li>verbose
* <li>failonerror
* <li>includeantruntime
* <li>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.
*
* <p>Ignored unless fork is true or extJavac has been specified
* as the compiler.</p>
@@ -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.
*
* <p>Defaults to the build.compiler property but can be overriden
* <p>Defaults to the build.compiler property but can be overridden
* via the compiler and fork attributes.</p>
*
* <p>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.
*
* <p>Defaults to the build.compiler property but can be overriden
* <p>Defaults to the build.compiler property but can be overridden
* via the compiler attribute.</p>
*
* <p>This method does not take the fork attribute into


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Javadoc.java View File

@@ -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");


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/Jikes.java View File

@@ -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();


+ 4
- 4
src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java View File

@@ -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;


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/KeySubst.java View File

@@ -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) {


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/LogOutputStream.java View File

@@ -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
*


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Sync.java View File

@@ -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!).
*
* <p>If the provided file is a directory, it is recursively


+ 4
- 4
src/main/org/apache/tools/ant/taskdefs/Tar.java View File

@@ -172,7 +172,7 @@ public class Tar extends MatchingTask {
* Allowable values are
* <ul>
* <li> truncate - paths are truncated to the maximum length
* <li> fail - paths greater than the maximim cause a build exception
* <li> fail - paths greater than the maximum cause a build exception
* <li> warn - paths greater than the maximum cause a warning and GNU is used
* <li> gnu - GNU extensions are used for any paths greater than the maximum.
* <li> omit - paths greater than the maximum are omitted from the archive
@@ -196,7 +196,7 @@ public class Tar extends MatchingTask {
* Allowable values are
* <ul>
* <li> truncate - paths are truncated to the maximum length
* <li> fail - paths greater than the maximim cause a build exception
* <li> fail - paths greater than the maximum cause a build exception
* <li> warn - paths greater than the maximum cause a warning and GNU is used
* <li> gnu - GNU extensions are used for any paths greater than the maximum.
* <li> omit - paths greater than the maximum are omitted from the archive
@@ -596,7 +596,7 @@ public class Tar extends MatchingTask {
*/
public static class TarLongFileMode extends EnumeratedAttribute {

// permissable values for longfile attribute
// permissible values for longfile attribute
public static final String WARN = "warn";
public static final String FAIL = "fail";
public static final String TRUNCATE = "truncate";
@@ -641,7 +641,7 @@ public class Tar extends MatchingTask {
*/
public static final class TarCompressionMethod extends EnumeratedAttribute {

// permissable values for compression attribute
// permissible values for compression attribute
/**
* No compression
*/


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/TaskOutputStream.java View File

@@ -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 TaskOutputStream extends OutputStream {
}

/**
* Processes a line of input and determines if an error occured.
* Processes a line of input and determines if an error occurred.
*/

private void processLine() {


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Taskdef.java View File

@@ -76,7 +76,7 @@ import org.apache.tools.ant.TaskAdapter;
public class Taskdef extends Typedef {

/**
* Default constuctor.
* Default constructor.
* Creates a new Taskdef instance.
* This sets the adapter and the adaptto classes to
* TaskAdapter and Task.


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/Tstamp.java View File

@@ -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
@@ -101,7 +101,7 @@ public class Tstamp extends Task {

/**
* create the timestamps. Custom ones are done before
* the standard ones, to get their retalation in early.
* the standard ones, to get their retaliation in early.
* @throws BuildException
*/
public void execute() throws BuildException {
@@ -130,7 +130,7 @@ public class Tstamp extends Task {
}

/**
* create a custom format with the the current prefix.
* create a custom format with the current prefix.
* @return a ready to fill-in format
*/
public CustomFormat createFormat() {


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/Untar.java View File

@@ -77,7 +77,7 @@ import org.apache.tools.tar.TarInputStream;
* <p>PatternSets are used to select files to extract
* <I>from</I> the archive. If no patternset is used, all files are extracted.
* </p>
* <p>FileSet>s may be used used to select archived files
* <p>FileSet>s may be used to select archived files
* to perform unarchival upon.
* </p>
* <p>File permissions will not be restored on extracted files.</p>
@@ -160,7 +160,7 @@ public class Untar extends Expand {
public static final class UntarCompressionMethod
extends EnumeratedAttribute {

// permissable values for compression attribute
// permissible values for compression attribute
/**
* No compression
*/


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/WaitFor.java View File

@@ -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
@@ -65,7 +65,7 @@ import org.apache.tools.ant.types.EnumeratedAttribute;
*
* Wait for an external process to start or to complete some
* task. This is useful with the <code>parallel</code> task to
* syncronize the execution of tests with server startup.
* synchronize the execution of tests with server startup.
*
* The following attributes can be specified on a waitfor task:
* <ul>
@@ -77,7 +77,7 @@ import org.apache.tools.ant.types.EnumeratedAttribute;
* </ul>
*
* The maxwaitunit and checkeveryunit are allowed to have the following values:
* millesond, second, minute, hour, day and week. The default is millisecond.
* millisecond, second, minute, hour, day and week. The default is millisecond.
*
* @author <a href="mailto:denis@network365.com">Denis Hennessy</a>
* @author Magesh Umasankar


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/War.java View File

@@ -174,7 +174,7 @@ public class War extends Jar {
}

/**
* Overriden from Zip class to deal with web.xml
* Overridden from Zip class to deal with web.xml
*/
protected void zipFile(File file, ZipOutputStream zOut, String vPath,
int mode)


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java View File

@@ -509,7 +509,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {
* Process the input file to the output file with the given stylesheet.
*
* @param inFile the input file to process.
* @param outFile the detination file.
* @param outFile the destination file.
* @param stylesheet the stylesheet to use.
* @exception BuildException if the processing fails.
*/
@@ -709,7 +709,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {

/**
* Set whether this param should NOT be used. It
* will not be used if the property has been set, orthwise it
* will not be used if the property has been set, otherwise it
* will be used.
* @param unlessProperty name of property
*/


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Zip.java View File

@@ -899,7 +899,7 @@ public class Zip extends MatchingTask {
/**
* Fetch all included and not excluded resources from the sets.
*
* <p>Included directories will preceede included files.</p>
* <p>Included directories will precede included files.</p>
*
* @since Ant 1.5.2
*/


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapter.java View File

@@ -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
@@ -58,10 +58,10 @@ import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.taskdefs.Javac;

/**
* The interface that all compiler adapters must adher to.
* The interface that all compiler adapters must adhere to.
*
* <p>A compiler adapter is an adapter that interprets the javac's
* parameters in preperation to be passed off to the compier this
* parameters in preparation to be passed off to the compiler this
* adapter represents. As all the necessary values are stored in the
* Javac task itself, the only thing all adapters need is the javac
* task, the execute command and a parameterless constructor (for


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java View File

@@ -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
@@ -86,7 +86,7 @@ public class CompilerAdapterFactory {
* <li>kjc = the kopi compiler</li>
* <li>gcj = the gcj compiler from gcc</li>
* <li>sj, symantec = the Symantec Java compiler</li>
* <li><i>a fully quallified classname</i> = the name of a compiler
* <li><i>a fully qualified classname</i> = the name of a compiler
* adapter
* </ul>
*
@@ -167,7 +167,7 @@ public class CompilerAdapterFactory {

/**
* query for the Modern compiler existing
* @return true iff classic os on the classpath
* @return true if classic os on the classpath
*/
private static boolean doesModernCompilerExist() {
try {


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java View File

@@ -373,7 +373,7 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter {

/**
* Logs the compilation parameters, adds the files to compile and logs the
* &qout;niceSourceList&quot;
* &quot;niceSourceList&quot;
*/
protected void logAndAddFilesToCompile(Commandline cmd) {
attributes.log("Compilation " + cmd.describeArguments(),
@@ -503,7 +503,7 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter {
}

/**
* Adds the command line arguments specifc to the current implementation.
* Adds the command line arguments specific to the current implementation.
*/
protected void addCurrentCompilerArgs(Commandline cmd) {
cmd.addArguments(getJavac().getCurrentCompilerArgs());


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java View File

@@ -172,7 +172,7 @@ public class Jikes extends DefaultCompilerAdapter {
* Jikes has the nice feature to print error
* messages in a form readable by emacs, so
* that emacs can directly set the cursor
* to the place, where the error occured.
* to the place, where the error occurred.
*/
String emacsProperty = project.getProperty("build.compiler.emacs");
if (emacsProperty != null && Project.toBoolean(emacsProperty)) {


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/compilers/Kjc.java View File

@@ -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
@@ -111,7 +111,7 @@ public class Kjc extends DefaultCompilerAdapter {
protected Commandline setupKjcCommand() {
Commandline cmd = new Commandline();

// generate classpath, because kjc does't support sourcepath.
// generate classpath, because kjc doesn't support sourcepath.
Path classpath = getCompileClasspath();

if (deprecation == true) {


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java View File

@@ -253,7 +253,7 @@ public abstract class ConditionBase extends ProjectComponent {
}

/**
* Add an arbitary condition
* Add an arbitrary condition
* @param c a condition
* @since Ant 1.6
*/


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/condition/Equals.java View File

@@ -98,7 +98,7 @@ public class Equals implements Condition {

/**
* Should the comparison be case sensitive?
* @param b if true use a case sensitive comparision (this is the
* @param b if true use a case sensitive comparison (this is the
* default)
* @since Ant 1.5
*/


Loading…
Cancel
Save