peterreilly    2003/09/09 09:52:03

  Modified:    src/main/org/apache/tools/ant AntClassLoader.java
                        AntTypeDefinition.java ComponentHelper.java
                        DefaultLogger.java DemuxInputStream.java
                        DemuxOutputStream.java
  Log:
  fix typeofs
  Patch from Larry Shatzer
  
  Revision  Changes    Path
  1.76      +4 -4      ant/src/main/org/apache/tools/ant/AntClassLoader.java
  
  Index: AntClassLoader.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/AntClassLoader.java,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- AntClassLoader.java       12 Aug 2003 15:15:06 -0000      1.75
  +++ AntClassLoader.java       9 Sep 2003 16:52:03 -0000       1.76
  @@ -73,7 +73,7 @@
   import org.apache.tools.ant.util.LoaderUtils;
   
   /**
  - * Used to load classes within ant with a different claspath from
  + * Used to load classes within ant with a different classpath from
    * that used to start ant. Note that it is possible to force a class
    * into this loader even when that class is on the system classpath by
    * using the forceLoadClass method. Any subsequent classes loaded by that
  @@ -372,7 +372,7 @@
        * Set the classpath to search for classes to load. This should not be
        * changed once the classloader starts to server classes
        *
  -     * @param classpath the serahc classpath consisting of directories and
  +     * @param classpath the search classpath consisting of directories and
        *        jar/zip files.
        */
       public void setClassPath(Path classpath) {
  @@ -637,7 +637,7 @@
        * loader.
        *
        * This ensures that instances of the returned class will be compatible
  -     * with instances which which have already been loaded on the parent
  +     * with instances which have already been loaded on the parent
        * loader.
        *
        * @param classname The name of the class to be loaded.
  @@ -1200,7 +1200,7 @@
        * Finds a system class (which should be loaded from the same classloader
        * as the Ant core).
        *
  -     * For JDK 1.1 compatability, this uses the findSystemClass method if
  +     * For JDK 1.1 compatibility, this uses the findSystemClass method if
        * no parent classloader has been specified.
        *
        * @param name The name of the class to be loaded.
  
  
  
  1.7       +3 -3      ant/src/main/org/apache/tools/ant/AntTypeDefinition.java
  
  Index: AntTypeDefinition.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/AntTypeDefinition.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AntTypeDefinition.java    15 Aug 2003 15:04:29 -0000      1.6
  +++ AntTypeDefinition.java    9 Sep 2003 16:52:03 -0000       1.7
  @@ -83,7 +83,7 @@
   
       /**
        * return the definition's name
  -     * @return the name of the defintion
  +     * @return the name of the definition
        */
       public String getName() {
           return name;
  @@ -162,7 +162,7 @@
       /**
        * get the exposed class for this
        * definition. This will be a proxy class
  -     * (adapted class) if there is an adpater
  +     * (adapted class) if there is an adapter
        * class and the definition class is not
        * assignable from the assignable class.
        * @param project the current project
  @@ -289,7 +289,7 @@
       }
   
       /**
  -     * get the constructor of the defintion
  +     * get the constructor of the definition
        * and invoke it.
        */
       private Object createAndSet(Project project, Class c) {
  
  
  
  1.27      +9 -9      ant/src/main/org/apache/tools/ant/ComponentHelper.java
  
  Index: ComponentHelper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ComponentHelper.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- ComponentHelper.java      1 Sep 2003 14:15:30 -0000       1.26
  +++ ComponentHelper.java      9 Sep 2003 16:52:03 -0000       1.27
  @@ -80,9 +80,9 @@
    * for backward compatibly.
    * Project will just delegate its calls to this class.
    *
  - * A very simple hook mechnism is provided that allows users to plug
  + * A very simple hook mechanism is provided that allows users to plug
    * in custom code. It is also possible to replace the default behavior
  - * ( for example in an app embeding ant )
  + * ( for example in an app embedding ant )
    *
    * @author Costin Manolache
    * @author Peter Reilly
  @@ -90,7 +90,7 @@
    * @since Ant1.6
    */
   public class ComponentHelper  {
  -    /** Map from compoennt name to anttypedefinition */
  +    /** Map from component name to anttypedefinition */
       private AntTypeTable antTypeTable;
   
       /** Map of tasks generated from antTypeTable */
  @@ -180,7 +180,7 @@
   
       /**
        * Used with creating child projects. Each child
  -     * project inherites the component definitions
  +     * project inherits the component definitions
        * from its parent.
        * @param helper the component helper of the parent project
        */
  @@ -204,7 +204,7 @@
        * @param componentType The component type,
        *                       Also available as ue.getComponentName()
        * @return the created component
  -     * @throws BuildException if an error occuries
  +     * @throws BuildException if an error occurs
        */
       public Object createComponent(UnknownElement ue,
                                     String ns,
  @@ -233,7 +233,7 @@
        *
        * @param componentName the name of the component, if
        *                      the component is in a namespace, the
  -     *                      name is prefixed withe the namespace uri and ":"
  +     *                      name is prefixed with the namespace uri and ":"
        * @return the class if found or null if not.
        */
       public Object createComponent(String componentName) {
  @@ -249,7 +249,7 @@
        *
        * @param componentName the name of the component, if
        *                      the component is in a namespace, the
  -     *                      name is prefixed withe the namespace uri and ":"
  +     *                      name is prefixed with the namespace uri and ":"
        * @return the class if found or null if not.
        */
       public Class getComponentClass(String componentName) {
  @@ -488,7 +488,7 @@
           Task task = createNewTask(taskType);
           if (task == null && taskType.equals("property")) {
               // quick fix for Ant.java use of property before
  -            // initializeing the project
  +            // initializing the project
               addTaskDefinition("property",
                                 org.apache.tools.ant.taskdefs.Property.class);
               task = createNewTask(taskType);
  @@ -822,7 +822,7 @@
               return; // namespace that does not contain antlib
           }
           if (checkedNamespaces.contains(uri)) {
  -            return; // Alreay processed
  +            return; // Already processed
           }
           checkedNamespaces.add(uri);
           Typedef definer = new Typedef();
  
  
  
  1.44      +3 -3      ant/src/main/org/apache/tools/ant/DefaultLogger.java
  
  Index: DefaultLogger.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DefaultLogger.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- DefaultLogger.java        6 Jul 2003 09:57:34 -0000       1.43
  +++ DefaultLogger.java        9 Sep 2003 16:52:03 -0000       1.44
  @@ -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
  @@ -160,7 +160,7 @@
   
       /**
        * Prints whether the build succeeded or failed,
  -     * any errors the occured during the build, and
  +     * any errors the occurred during the build, and
        * how long the build took.
        *
        * @param event An event with any relevant extra information.
  @@ -304,7 +304,7 @@
       /**
        * Convenience method to format a specified length of time.
        *
  -     * @param millis Length of time to format, in milliseonds.
  +     * @param millis Length of time to format, in milliseconds.
        *
        * @return the time as a formatted string.
        *
  
  
  
  1.5       +1 -1      ant/src/main/org/apache/tools/ant/DemuxInputStream.java
  
  Index: DemuxInputStream.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DemuxInputStream.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DemuxInputStream.java     6 Jul 2003 09:57:34 -0000       1.4
  +++ DemuxInputStream.java     9 Sep 2003 16:52:03 -0000       1.5
  @@ -59,7 +59,7 @@
   
   /**
    *
  - * Passes input requests tot he project objetc for demuxing into
  + * Passes input requests tot he project object for demuxing into
    * individual tasks and threads.
    *
    * @since Ant 1.6
  
  
  
  1.20      +1 -1      ant/src/main/org/apache/tools/ant/DemuxOutputStream.java
  
  Index: DemuxOutputStream.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DemuxOutputStream.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- DemuxOutputStream.java    18 Jul 2003 12:45:54 -0000      1.19
  +++ DemuxOutputStream.java    9 Sep 2003 16:52:03 -0000       1.20
  @@ -252,7 +252,7 @@
       /**
        * 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
        *
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to