You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2003/09/12 22:56:46 UTC
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs AbstractCvsTask.java Ant.java AntStructure.java Antlib.java AntlibInterface.java Available.java
antoine 2003/09/12 13:56:46
Modified: src/main/org/apache/tools/ant BuildException.java
ExitException.java Main.java Project.java
ProjectHelper.java PropertyHelper.java
RuntimeConfigurable.java Task.java TypeAdapter.java
XmlLogger.java
src/main/org/apache/tools/ant/filters StripJavaComments.java
TailFilter.java TokenFilter.java
src/main/org/apache/tools/ant/helper ProjectHelper2.java
ProjectHelperImpl.java
src/main/org/apache/tools/ant/launch Locator.java
src/main/org/apache/tools/ant/taskdefs AbstractCvsTask.java
Ant.java AntStructure.java Antlib.java
AntlibInterface.java Available.java
Log:
Typos
Submitted by: Larry Shatzer (larry dot shatzer at servent dot com)
Revision Changes Path
1.19 +2 -2 ant/src/main/org/apache/tools/ant/BuildException.java
Index: BuildException.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/BuildException.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- BuildException.java 10 Feb 2003 14:13:29 -0000 1.18
+++ BuildException.java 12 Sep 2003 20:56:45 -0000 1.19
@@ -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
@@ -66,7 +66,7 @@
/** Exception that might have caused this one. */
private Throwable cause;
- /** Location in the build file where the exception occured */
+ /** Location in the build file where the exception occurred */
private Location location = Location.UNKNOWN_LOCATION;
/**
1.10 +1 -1 ant/src/main/org/apache/tools/ant/ExitException.java
Index: ExitException.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ExitException.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ExitException.java 27 Aug 2003 14:23:16 -0000 1.9
+++ ExitException.java 12 Sep 2003 20:56:45 -0000 1.10
@@ -78,7 +78,7 @@
/**
* Constructs an exit exception.
- * @param msg the messge to be displayed.
+ * @param msg the message to be displayed.
* @param status the status code returned via System.exit()
*/
public ExitException(String msg, int status) {
1.95 +4 -4 ant/src/main/org/apache/tools/ant/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Main.java,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- Main.java 12 Sep 2003 14:01:39 -0000 1.94
+++ Main.java 12 Sep 2003 20:56:45 -0000 1.95
@@ -71,7 +71,7 @@
/**
* Command line entry point into Ant. This class is entered via the
- * cannonical `public static void main` entry point and reads the
+ * canonical `public static void main` entry point and reads the
* command line arguments. It then assembles and executes an Ant
* project.
* <p>
@@ -462,7 +462,7 @@
}
// make sure it's not a directory (this falls into the ultra
- // paranoid lets check everything catagory
+ // paranoid lets check everything category
if (buildFile.isDirectory()) {
System.out.println("What? Buildfile: " + buildFile + " is a dir!");
@@ -540,7 +540,7 @@
* Search parent directories for the build file.
* <p>
* Takes the given target as a suffix to append to each
- * parent directory in seach of a build file. Once the
+ * parent directory in search of a build file. Once the
* root of the file-system has been reached an exception
* is thrown.
*
@@ -618,7 +618,7 @@
oldsm = System.getSecurityManager();
//SecurityManager can not be installed here for backwards
- //compatability reasons (PD). Needs to be loaded prior to
+ //compatibility reasons (PD). Needs to be loaded prior to
//ant class if we are going to implement it.
//System.setSecurityManager(new NoExitSecurityManager());
}
1.154 +7 -7 ant/src/main/org/apache/tools/ant/Project.java
Index: Project.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Project.java,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- Project.java 4 Sep 2003 11:46:03 -0000 1.153
+++ Project.java 12 Sep 2003 20:56:45 -0000 1.154
@@ -228,11 +228,11 @@
/**
* Set the default System input stream. Normally this stream is set to
- * System.in. This inputStream is used when no task inptu redirection is
+ * System.in. This inputStream is used when no task input redirection is
* being performed.
*
* @param defaultInputStream the default input stream to use when input
- * is reuested.
+ * is requested.
* @since Ant 1.6
*/
public void setDefaultInputStream(InputStream defaultInputStream) {
@@ -242,7 +242,7 @@
/**
* Get this project's input stream
*
- * @return the InputStream instance in use by this Porject instance to
+ * @return the InputStream instance in use by this Project instance to
* read input
*/
public InputStream getDefaultInputStream() {
@@ -332,7 +332,7 @@
* Factory method to create a class loader for loading classes from
* a given path
*
- * @param path the path from whcih clases are to be loaded.
+ * @param path the path from which classes are to be loaded.
*
* @return an appropriate classloader
*/
@@ -1656,7 +1656,7 @@
* @param visiting A stack of targets which are currently being visited.
* Must not be <code>null</code>.
* @param ret The list to add target names to. This will end up
- * containing the complete list of depenencies in
+ * containing the complete list of dependencies in
* dependency order.
* Must not be <code>null</code>.
*
@@ -2007,7 +2007,7 @@
}
/**
- * Get the current task assopciated with a thread, if any
+ * Get the current task associated with a thread, if any
*
* @param thread the thread for which the task is required.
* @return the task which is currently registered for the given thread or
1.101 +4 -4 ant/src/main/org/apache/tools/ant/ProjectHelper.java
Index: ProjectHelper.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ProjectHelper.java,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- ProjectHelper.java 1 Sep 2003 14:15:30 -0000 1.100
+++ ProjectHelper.java 12 Sep 2003 20:56:45 -0000 1.101
@@ -72,8 +72,8 @@
*
* This class also provide static wrappers for common introspection.
*
- * All helper plugins must provide backward compatiblity with the
- * original ant patterns, unless a different behavior is explicitely
+ * All helper plugins must provide backward compatibility with the
+ * original ant patterns, unless a different behavior is explicitly
* specified. For example, if namespace is used on the <project> tag
* the helper can expect the entire build file to be namespace-enabled.
* Namespaces or helper-specific tags can provide meta-information to
@@ -115,7 +115,7 @@
* @param buildFile An XML file giving the project's configuration.
* Must not be <code>null</code>.
*
- * @deprecated Use the non-statuc parse method
+ * @deprecated Use the non-static parse method
* @exception BuildException if the configuration is invalid or cannot
* be read
*/
@@ -198,7 +198,7 @@
public static ProjectHelper getProjectHelper()
throws BuildException {
// Identify the class loader we will be using. Ant may be
- // in a webapp or embeded in a different app
+ // in a webapp or embedded in a different app
ProjectHelper helper = null;
// First, try the system property
1.8 +7 -7 ant/src/main/org/apache/tools/ant/PropertyHelper.java
Index: PropertyHelper.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/PropertyHelper.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- PropertyHelper.java 24 Jul 2003 14:05:49 -0000 1.7
+++ PropertyHelper.java 12 Sep 2003 20:56:45 -0000 1.8
@@ -63,7 +63,7 @@
- ns param. It could be used to provide "namespaces" for properties, which
may be more flexible.
- Object value. In ant1.5 String is used for Properties - but it would be nice
- to support generic Objects (the property remains imutable - you can't change
+ to support generic Objects (the property remains immutable - you can't change
the associated object). This will also allow JSP-EL style setting using the
Object if an attribute contains only the property (name="${property}" could
avoid Object->String->Object conversion)
@@ -117,7 +117,7 @@
/**
* Set the project for which this helper is performing property resolution
*
- * @param p the projetc instance.
+ * @param p the project instance.
*/
public void setProject(Project p) {
this.project = p;
@@ -140,7 +140,7 @@
/**
* Get the next property helper in the chain.
*
- * @return the next proprty helper.
+ * @return the next property helper.
*/
public PropertyHelper getNext() {
return next;
@@ -149,7 +149,7 @@
/**
* Factory method to create a property processor.
* Users can provide their own or replace it using "ant.PropertyHelper"
- * reference. User tasks can also add themself to the chain, and provide
+ * reference. User tasks can also add themselves to the chain, and provide
* dynamic properties.
*
* @param project the project fro which the property helper is required.
@@ -245,7 +245,7 @@
* <code>null</code> entries in the first list indicate a property
* reference from the second list.
*
- * It can be overriden with a more efficient or customized version.
+ * It can be overridden with a more efficient or customized version.
*
* @param value Text to parse. Must not be <code>null</code>.
* @param fragments List to add text fragments to.
@@ -508,7 +508,7 @@
}
// There is a better way to save the context. This shouldn't
- // delegate to next, it's for backward compat only.
+ // delegate to next, it's for backward compatibility only.
return propertiesCopy;
}
@@ -583,7 +583,7 @@
// this is used for backward compatibility (for code that calls
// the parse method in ProjectHelper).
- /** Default parsing method. It is here only to support backward compat
+ /** Default parsing method. It is here only to support backward compatibility
* for the static ProjectHelper.parsePropertyString().
*/
static void parsePropertyStringDefault(String value, Vector fragments,
1.45 +1 -1 ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java
Index: RuntimeConfigurable.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- RuntimeConfigurable.java 13 Aug 2003 14:46:15 -0000 1.44
+++ RuntimeConfigurable.java 12 Sep 2003 20:56:45 -0000 1.45
@@ -104,7 +104,7 @@
* preserving the order ( AFAIK ), some ant tests do rely on the
* exact order. The following code is copied from AttributeImpl.
* We could also just use SAX2 Attributes and convert to SAX1 ( DOM
- * attribute Nodes can also be stored in SAX2 Attributges )
+ * attribute Nodes can also be stored in SAX2 Attributes )
* XXX under JDK 1.4 you can just use a LinkedHashMap for this purpose -jglick
*/
private List/*<String>*/ attributeNames = null;
1.50 +2 -2 ant/src/main/org/apache/tools/ant/Task.java
Index: Task.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Task.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- Task.java 11 Sep 2003 14:04:16 -0000 1.49
+++ Task.java 12 Sep 2003 20:56:45 -0000 1.50
@@ -202,7 +202,7 @@
* Called by the project to let the task initialize properly.
* The default implementation is a no-op.
*
- * @exception BuildException if someting goes wrong with the build
+ * @exception BuildException if something goes wrong with the build
*/
public void init() throws BuildException {
}
@@ -373,7 +373,7 @@
}
/**
- * Logs a mesage with the given priority. This delegates
+ * Logs a message with the given priority. This delegates
* the actual logging to the project.
*
* @param msg The message to be logged. Should not be <code>null</code>.
1.5 +1 -1 ant/src/main/org/apache/tools/ant/TypeAdapter.java
Index: TypeAdapter.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/TypeAdapter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TypeAdapter.java 23 Jul 2003 10:39:19 -0000 1.4
+++ TypeAdapter.java 12 Sep 2003 20:56:45 -0000 1.5
@@ -80,7 +80,7 @@
* Sets the proxy object, whose methods are going to be
* invoked by ant.
* A proxy object is normally the object defined by
- * a <typedef/> task that is adapted by the "adapter"
+ * a <typedef/> task that is adapted by the "adapter"
* attribute.
*
* @param o The target object. Must not be <code>null</code>.
1.39 +2 -2 ant/src/main/org/apache/tools/ant/XmlLogger.java
Index: XmlLogger.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/XmlLogger.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- XmlLogger.java 18 Jul 2003 12:45:55 -0000 1.38
+++ XmlLogger.java 12 Sep 2003 20:56:45 -0000 1.39
@@ -253,7 +253,7 @@
/**
* Fired when a target starts building, this pushes a timed element
* for the target onto the stack of elements for the current thread,
- * rememebering the current time and the name of the target.
+ * remembering the current time and the name of the target.
*
* @param event An event with any relevant extra information.
* Will not be <code>null</code>.
@@ -309,7 +309,7 @@
/**
* Fired when a task starts building, this pushes a timed element
* for the task onto the stack of elements for the current thread,
- * rememebering the current time and the name of the task.
+ * remembering the current time and the name of the task.
*
* @param event An event with any relevant extra information.
* Will not be <code>null</code>.
1.13 +1 -1 ant/src/main/org/apache/tools/ant/filters/StripJavaComments.java
Index: StripJavaComments.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/filters/StripJavaComments.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- StripJavaComments.java 18 Jul 2003 14:21:21 -0000 1.12
+++ StripJavaComments.java 12 Sep 2003 20:56:46 -0000 1.13
@@ -61,7 +61,7 @@
* those lexical tokens out for purposes of simple Java parsing.
* (if you have more complex Java parsing needs, use a real lexer).
* Since this class heavily relies on the single char read function,
- * you are reccomended to make it work on top of a buffered reader.
+ * you are recommended to make it work on top of a buffered reader.
*
* @author Not Specified.
*/
1.15 +1 -1 ant/src/main/org/apache/tools/ant/filters/TailFilter.java
Index: TailFilter.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/filters/TailFilter.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- TailFilter.java 24 Jul 2003 14:20:56 -0000 1.14
+++ TailFilter.java 12 Sep 2003 20:56:46 -0000 1.15
@@ -240,7 +240,7 @@
* implement a tail filter on a stream of lines.
* line = null is the end of the stream.
* @return "" while reading in the lines,
- * line while outputing the lines
+ * line while outputting the lines
* null at the end of outputting the lines
*/
private String tailFilter(String line) {
1.12 +14 -14 ant/src/main/org/apache/tools/ant/filters/TokenFilter.java
Index: TokenFilter.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/filters/TokenFilter.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- TokenFilter.java 13 Aug 2003 13:44:26 -0000 1.11
+++ TokenFilter.java 12 Sep 2003 20:56:46 -0000 1.12
@@ -191,9 +191,9 @@
}
/**
- * set the output delimitor.
+ * set the output delimiter.
* @param delimOutput replaces the delim string returned by the
- * tokenizer, it it present.
+ * tokenizer, if present.
*/
public void setDelimOutput(String delimOutput) {
@@ -231,7 +231,7 @@
}
/**
- * add an arbirarty tokenizer
+ * add an arbitrary tokenizer
* @param tokenizer the tokenizer to all, only one allowed
*/
@@ -296,14 +296,14 @@
/**
* delete chars
- * @param filter the delete chaarcters filter
+ * @param filter the delete characters filter
*/
public void addDeleteCharacters(DeleteCharacters filter) {
filters.addElement(filter);
}
/**
- * Add an arbitary filter
+ * Add an arbitrary filter
* @param filter the filter to add
*/
public void add(Filter filter) {
@@ -342,7 +342,7 @@
}
/**
- * class to tokenize the input as areas seperated
+ * class to tokenize the input as areas separated
* by white space, or by a specified list of
* delim characters. Behaves like java.util.StringTokenizer.
* if the stream starts with delim characters, the first
@@ -359,7 +359,7 @@
private boolean includeDelims = false;
/**
- * attribute delims - the delimeter characters
+ * attribute delims - the delimiter characters
* @param delims a string containing the delimiter characters
*/
public void setDelims(String delims) {
@@ -388,7 +388,7 @@
* attribute includedelims - treat delimiters as part
* of the token.
* default - false
- * @param includeDelims if true add deliters to the token
+ * @param includeDelims if true add delimiters to the token
*/
public void setIncludeDelims(boolean includeDelims) {
this.includeDelims = includeDelims;
@@ -489,7 +489,7 @@
private boolean byLine = true;
/**
- * set wheter to use filetokenizer or line tokenizer
+ * set whether to use filetokenizer or line tokenizer
* @param byLine if true use a linetokenizer (default) otherwise
* use a filetokenizer
*/
@@ -539,7 +539,7 @@
}
/**
- * Filter a string 'line' replaceing from with to
+ * Filter a string 'line' replacing from with to
* (C&P from the Replace task)
* @param line the string to be filtered
* @return the filtered line
@@ -752,7 +752,7 @@
/** Filter to trim white space */
public static class Trim extends ChainableReaderFilter {
/**
- * @param line the string to be trimed
+ * @param line the string to be trimmed
* @return the trimmed string
*/
public String filter(String line) {
@@ -766,7 +766,7 @@
public static class IgnoreBlank extends ChainableReaderFilter {
/**
* @param line the line to modify
- * @return the trimed line
+ * @return the trimmed line
*/
public String filter(String line) {
if (line.trim().length() == 0) {
@@ -852,9 +852,9 @@
// --------------------------------------------------------
/**
- * xml does not do "c" like interpetation of strings.
+ * xml does not do "c" like interpretation of strings.
* i.e. \n\r\t etc.
- * this methid processes \n, \r, \t, \f, \\
+ * this method processes \n, \r, \t, \f, \\
* also subs \s -> " \n\r\t\f"
* a trailing '\' will be ignored
*
1.32 +5 -5 ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java
Index: ProjectHelper2.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ProjectHelper2.java 10 Sep 2003 10:37:13 -0000 1.31
+++ ProjectHelper2.java 12 Sep 2003 20:56:46 -0000 1.32
@@ -423,7 +423,7 @@
/**
* Resolves file: URIs relative to the build file.
*
- * @param publicId The public identifer, or <code>null</code>
+ * @param publicId The public identifier, or <code>null</code>
* if none is available. Ignored in this
* implementation.
* @param systemId The system identifier provided in the XML
@@ -631,7 +631,7 @@
*
* If we eventually switch to ( or add support for ) DOM,
* things will work smoothly - UE can be avoided almost completely
- * ( it could still be created on demand, for backward compat )
+ * ( it could still be created on demand, for backward compatibility )
*/
for (int i = 0; i < attrs.getLength(); i++) {
@@ -695,7 +695,7 @@
// no further processing
return;
}
- // set explicitely before starting ?
+ // set explicitly before starting ?
if (project.getProperty("basedir") != null) {
project.setBasedir(project.getProperty("basedir"));
} else {
@@ -820,7 +820,7 @@
Hashtable currentTargets = project.getTargets();
- // If the name has already beend defined ( import for example )
+ // If the name has already been defined ( import for example )
if (currentTargets.containsKey(name)) {
// Alter the name.
if (context.getCurrentProjectName() != null) {
@@ -960,7 +960,7 @@
// PR: Hack for ant-type value
// an ant-type is a component name which can
// be namespaced, need to extract the name
- // and convert from qualifed name to uri/name
+ // and convert from qualified name to uri/name
if (name.equals("ant-type")) {
int index = value.indexOf(":");
if (index != -1) {
1.23 +3 -3 ant/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java
Index: ProjectHelperImpl.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ProjectHelperImpl.java 25 Jul 2003 18:42:54 -0000 1.22
+++ ProjectHelperImpl.java 12 Sep 2003 20:56:46 -0000 1.23
@@ -233,7 +233,7 @@
/** Helper impl. With non-static internal classes, the compiler will generate
this automatically - but this will fail with some compilers ( reporting
"Expecting to find object/array on stack" ). If we pass it
- explicitely it'll work with more compilers.
+ explicitly it'll work with more compilers.
*/
ProjectHelperImpl helperImpl;
@@ -322,7 +322,7 @@
/**
* Resolves file: URIs relative to the build file.
*
- * @param publicId The public identifer, or <code>null</code>
+ * @param publicId The public identifier, or <code>null</code>
* if none is available. Ignored in this
* implementation.
* @param systemId The system identifier provided in the XML
@@ -501,7 +501,7 @@
}
/**
- * Handles a target defintion element by creating a target handler
+ * Handles a target definition element by creating a target handler
* and initialising is with the details of the element.
*
* @param tag The name of the element to be handled.
1.6 +2 -2 ant/src/main/org/apache/tools/ant/launch/Locator.java
Index: Locator.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Locator.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Locator.java 20 Jul 2003 10:01:27 -0000 1.5
+++ Locator.java 12 Sep 2003 20:56:46 -0000 1.6
@@ -176,13 +176,13 @@
/**
* Get the File necessary to load the Sun compiler tools. If the classes
* are available to this class, then no additional URL is required and
- * null is returned. This may be because the classes are explcitly in the
+ * null is returned. This may be because the classes are explicitly in the
* class path or provided by the JVM directly
*
* @return the tools jar as a File if required, null otherwise
*/
public static File getToolsJar() {
- // firstly check if the tols jar is alreayd n the classpath
+ // firstly check if the tools jar is already in the classpath
boolean toolsJarAvailable = false;
try {
1.26 +4 -4 ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
Index: AbstractCvsTask.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- AbstractCvsTask.java 2 Sep 2003 14:38:19 -0000 1.25
+++ AbstractCvsTask.java 12 Sep 2003 20:56:46 -0000 1.26
@@ -225,7 +225,7 @@
* if the stream has not yet been set, if the attribute output
* has been set, the output stream will go to the output file
* otherwise the output will go to ant's logging system
- * @return output stream to which cvs'stdout should go to
+ * @return output stream to which cvs' stdout should go to
*/
protected OutputStream getOutputStream() {
@@ -264,7 +264,7 @@
* if the stream has not yet been set, if the attribute error
* has been set, the output stream will go to the file denoted by the error attribute
* otherwise the stderr output will go to ant's logging system
- * @return output stream to which cvs'stderr should go to
+ * @return output stream to which cvs' stderr should go to
*/
protected OutputStream getErrorStream() {
@@ -499,7 +499,7 @@
}
/**
- * access the the CVSROOT variable
+ * access the CVSROOT variable
* @return CVSROOT
*/
public String getCvsRoot() {
@@ -631,7 +631,7 @@
* add a command line argument to an external command
*
* I do not understand what this method does in this class ???
- * particulary not why it is public ????
+ * particularly not why it is public ????
* AntoineLL July 23d 2003
*
* @param c command line to which one argument should be added
1.92 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/Ant.java
Index: Ant.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Ant.java,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- Ant.java 12 Sep 2003 15:42:21 -0000 1.91
+++ Ant.java 12 Sep 2003 20:56:46 -0000 1.92
@@ -567,7 +567,7 @@
/**
* Copies all properties from the given table to the new project -
- * ommiting those that have already been set in the new project as
+ * omitting those that have already been set in the new project as
* well as properties named basedir or ant.file.
* @param props properties to copy to the new project
* @since Ant 1.6
1.37 +3 -3 ant/src/main/org/apache/tools/ant/taskdefs/AntStructure.java
Index: AntStructure.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/AntStructure.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- AntStructure.java 13 Aug 2003 14:46:15 -0000 1.36
+++ AntStructure.java 12 Sep 2003 20:56:46 -0000 1.37
@@ -360,13 +360,13 @@
/**
* Does this String match the XML-NMTOKEN production?
* @param s the string to test
- * @return true if the string matche the XML-NMTOKEN
+ * @return true if the string matches the XML-NMTOKEN
*/
protected boolean isNmtoken(String s) {
final int length = s.length();
for (int i = 0; i < length; i++) {
char c = s.charAt(i);
- // XXX - we are ommitting CombiningChar and Extender here
+ // XXX - we are committing CombiningChar and Extender here
if (!Character.isLetterOrDigit(c)
&& c != '.' && c != '-' && c != '_' && c != ':') {
return false;
1.10 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/Antlib.java
Index: Antlib.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Antlib.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Antlib.java 10 Sep 2003 10:55:58 -0000 1.9
+++ Antlib.java 12 Sep 2003 20:56:46 -0000 1.10
@@ -164,7 +164,7 @@
/**
* add a task to the list of tasks
*
- * @param nestedTask Nested task to execute in antlibe
+ * @param nestedTask Nested task to execute in antlib
*/
public void addTask(Task nestedTask) {
tasks.add(nestedTask);
1.2 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/AntlibInterface.java
Index: AntlibInterface.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/AntlibInterface.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AntlibInterface.java 13 Aug 2003 13:18:54 -0000 1.1
+++ AntlibInterface.java 12 Sep 2003 20:56:46 -0000 1.2
@@ -57,7 +57,7 @@
/**
* Interface for tasks that should be informed when
* they are loaded in antlib's.
- * For handling uri and and class loading.
+ * For handling uri and class loading.
*
* @author Peter Reilly
*
1.57 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/Available.java
Index: Available.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Available.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- Available.java 24 Jul 2003 14:07:51 -0000 1.56
+++ Available.java 12 Sep 2003 20:56:46 -0000 1.57
@@ -328,7 +328,7 @@
}
/**
- * Search for file/directory either either relative to project's
+ * Search for file/directory either relative to project's
* basedir or in the path given as filepath.
*
* <p>filepath can be a list of directory and/or file names (gen'd
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org