You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/08/31 15:05:44 UTC

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections DefaultMapEntry.java MapUtils.java PredicateUtils.java DoubleOrderedMap.java ListUtils.java ExtendedProperties.java

scolebourne    2003/08/31 06:05:44

  Modified:    collections/src/java/org/apache/commons/collections
                        DefaultMapEntry.java MapUtils.java
                        PredicateUtils.java DoubleOrderedMap.java
                        ListUtils.java ExtendedProperties.java
  Log:
  Javadoc spelling mistakes
  bug 22843, from Janek Bogucki
  
  Revision  Changes    Path
  1.10      +3 -3      jakarta-commons/collections/src/java/org/apache/commons/collections/DefaultMapEntry.java
  
  Index: DefaultMapEntry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/DefaultMapEntry.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DefaultMapEntry.java	16 May 2003 14:24:54 -0000	1.9
  +++ DefaultMapEntry.java	31 Aug 2003 13:05:44 -0000	1.10
  @@ -87,7 +87,7 @@
        * key and given value.
        *
        * @param key  the key for the entry, may be null
  -     * @param value  the value for the entyr, may be null
  +     * @param value  the value for the entry, may be null
        */
       public DefaultMapEntry(Object key, Object value) {
           this.key = key;
  
  
  
  1.29      +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/MapUtils.java
  
  Index: MapUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/MapUtils.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- MapUtils.java	25 Aug 2003 20:38:40 -0000	1.28
  +++ MapUtils.java	31 Aug 2003 13:05:44 -0000	1.29
  @@ -682,7 +682,7 @@
       /**
        * Prints the given map with nice line breaks.
        * <p>
  -     * This method prints a nicely formatted String decribing the Map.
  +     * This method prints a nicely formatted String describing the Map.
        * Each map entry will be printed with key and value.
        * When the value is a Map, recursive behaviour occurs.
        *
  @@ -706,7 +706,7 @@
       /**
        * Prints the given map with nice line breaks.
        * <p>
  -     * This method prints a nicely formatted String decribing the Map.
  +     * This method prints a nicely formatted String describing the Map.
        * Each map entry will be printed with key, value and value classname.
        * When the value is a Map, recursive behaviour occurs.
        *
  
  
  
  1.8       +5 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/PredicateUtils.java
  
  Index: PredicateUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/PredicateUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PredicateUtils.java	16 May 2003 13:41:10 -0000	1.7
  +++ PredicateUtils.java	31 Aug 2003 13:05:44 -0000	1.8
  @@ -218,7 +218,7 @@
   
       /**
        * Creates a Predicate that returns true the first time an object is
  -     * encoutered, and false if the same object is received 
  +     * encountered, and false if the same object is received 
        * again. The comparison is by equals(). A <code>null</code> input object
        * is accepted and will return true the first time, and false subsequently
        * as well.
  @@ -837,7 +837,7 @@
   
       /**
        * UniquePredicate returns true the first time an object is
  -     * encoutered, and false if the same object is received 
  +     * encountered, and false if the same object is received 
        * again using equals().
        */
       private static class UniquePredicate implements Predicate, Serializable {
  @@ -852,7 +852,7 @@
           }
   
           /**
  -         * Return true the first time, and false subsequant times
  +         * Return true the first time, and false subsequent times
            * that an object is encountered, using equals().
            */
           public boolean evaluate(Object object) {
  
  
  
  1.5       +6 -6      jakarta-commons/collections/src/java/org/apache/commons/collections/DoubleOrderedMap.java
  
  Index: DoubleOrderedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/DoubleOrderedMap.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DoubleOrderedMap.java	16 May 2003 14:24:54 -0000	1.4
  +++ DoubleOrderedMap.java	31 Aug 2003 13:05:44 -0000	1.5
  @@ -571,7 +571,7 @@
           } else if (node.getRight(index) != null) {
   
               // everything to the node's right is larger. The least of
  -            // the right node's descendents is the next larger node
  +            // the right node's descendants is the next larger node
               rval = leastNode(node.getRight(index), index);
           } else {
   
  @@ -830,7 +830,7 @@
   
       /**
        * complicated red-black insert stuff. Based on Sun's TreeMap
  -     * implementation, though it's barely recognizeable any more
  +     * implementation, though it's barely recognizable any more
        *
        * @param insertedNode the node to be inserted
        * @param index KEY or VALUE
  @@ -902,7 +902,7 @@
   
       /**
        * complicated red-black delete stuff. Based on Sun's TreeMap
  -     * implementation, though it's barely recognizeable any more
  +     * implementation, though it's barely recognizable any more
        *
        * @param deletedNode the node to be deleted
        */
  @@ -976,7 +976,7 @@
   
       /**
        * complicated red-black delete stuff. Based on Sun's TreeMap
  -     * implementation, though it's barely recognizeable any more. This
  +     * implementation, though it's barely recognizable any more. This
        * rebalances the tree (somewhat, as red-black trees are not
        * perfectly balanced -- perfect balancing takes longer)
        *
  
  
  
  1.19      +3 -3      jakarta-commons/collections/src/java/org/apache/commons/collections/ListUtils.java
  
  Index: ListUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/ListUtils.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ListUtils.java	11 May 2003 13:29:16 -0000	1.18
  +++ ListUtils.java	31 Aug 2003 13:05:44 -0000	1.19
  @@ -133,7 +133,7 @@
        * one occurrence.
        *
        * @param list1  the list to subtract from
  -     * @param list2  the lsit to subtract
  +     * @param list2  the list to subtract
        * @return  a new list containing the results
        * @throws NullPointerException if either list is null
        */
  
  
  
  1.15      +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/ExtendedProperties.java
  
  Index: ExtendedProperties.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/ExtendedProperties.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ExtendedProperties.java	24 Aug 2003 11:29:52 -0000	1.14
  +++ ExtendedProperties.java	31 Aug 2003 13:05:44 -0000	1.15
  @@ -150,7 +150,7 @@
    *      tokens_on_multiple_lines = second token
    *
    *      # commas may be escaped in tokens
  - *      commas.excaped = Hi\, what'up?
  + *      commas.escaped = Hi\, what'up?
    * </pre>
    *
    * <p><b>NOTE</b>: this class has <b>not</b> been written for
  @@ -695,7 +695,7 @@
        * Sets a string property w/o checking for commas - used
        * internally when a property has been broken up into
        * strings that could contain escaped commas to prevent
  -     * the inadvertant vectorization.
  +     * the inadvertent vectorization.
        * <p>
        * Thanks to Leon Messerschmidt for this one.
        *