commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections MapIterator.java EnumerationUtils.java OrderedIterator.java BeanMap.java
Date Mon, 05 Jan 2004 21:37:13 GMT
scolebourne    2004/01/05 13:37:13

  Modified:    collections/src/java/org/apache/commons/collections
                        MapIterator.java EnumerationUtils.java
                        OrderedIterator.java BeanMap.java
  Log:
  Fix javadoc, from Gary Gregory
  
  Revision  Changes    Path
  1.5       +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/MapIterator.java
  
  Index: MapIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/MapIterator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MapIterator.java	2 Dec 2003 23:51:49 -0000	1.4
  +++ MapIterator.java	5 Jan 2004 21:37:13 -0000	1.5
  @@ -4,7 +4,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2003-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -99,7 +99,7 @@
        * Gets the next <em>key</em> from the <code>Map</code>.
        *
        * @return the next key in the iteration
  -     * @throws NoSuchElementException if the iteration is finished
  +     * @throws java.util.NoSuchElementException if the iteration is finished
        */
       Object next();
   
  
  
  
  1.3       +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/EnumerationUtils.java
  
  Index: EnumerationUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/EnumerationUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EnumerationUtils.java	5 Jan 2004 21:23:44 -0000	1.2
  +++ EnumerationUtils.java	5 Jan 2004 21:37:13 -0000	1.3
  @@ -4,7 +4,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2004 The Apache Software Foundation.  All rights
  + * Copyright (c) 2003-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -86,7 +86,7 @@
        * created. The new list is returned.</p>
        *
        * @param enumeration  the enumeration to traverse, which should not be <code>null</code>.
  -     * @throws <code>NullPointerException</code> if the enumeration parameter
is <code>null</code>.
  +     * @throws NullPointerException if the enumeration parameter is <code>null</code>.
        */
       public static List toList(Enumeration enumeration) {
           return IteratorUtils.toList(new EnumerationIterator(enumeration));
  
  
  
  1.2       +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/OrderedIterator.java
  
  Index: OrderedIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/OrderedIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OrderedIterator.java	1 Dec 2003 22:48:59 -0000	1.1
  +++ OrderedIterator.java	5 Jan 2004 21:37:13 -0000	1.2
  @@ -4,7 +4,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2003-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -82,7 +82,7 @@
        * Gets the previous element from the collection.
        *
        * @return the previous key in the iteration
  -     * @throws NoSuchElementException if the iteration is finished
  +     * @throws java.util.NoSuchElementException if the iteration is finished
        */
       Object previous();
   
  
  
  
  1.26      +5 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java
  
  Index: BeanMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- BeanMap.java	5 Dec 2003 20:23:57 -0000	1.25
  +++ BeanMap.java	5 Jan 2004 21:37:13 -0000	1.26
  @@ -4,7 +4,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -519,7 +519,7 @@
               }
               public Object next() {
                   Object key = iter.next();
  -                return get( (String) key );
  +                return get(key);
               }
               public void remove() {
                   throw new UnsupportedOperationException( "remove() not supported for BeanMap"
);
  @@ -780,7 +780,7 @@
        *  to that type
        * @throws InstantiationException  if the constructor found with 
        *  reflection raises it
  -     * @throws InvocationTargetExcetpion  if the constructor found with
  +     * @throws InvocationTargetException  if the constructor found with
        *  reflection raises it
        * @throws IllegalAccessException  never
        * @throws IllegalArgumentException  never
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message