You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2004/01/03 06:15:00 UTC

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/map AbstractHashedMap.java

psteitz     2004/01/02 21:15:00

  Modified:    collections/src/java/org/apache/commons/collections/map
                        AbstractHashedMap.java
  Log:
  javadoc.
  
  Revision  Changes    Path
  1.6       +5 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
  
  Index: AbstractHashedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractHashedMap.java	2 Jan 2004 01:36:52 -0000	1.5
  +++ AbstractHashedMap.java	3 Jan 2004 05:15:00 -0000	1.6
  @@ -170,7 +170,7 @@
        * @param initialCapacity  the initial capacity
        * @param loadFactor  the load factor
        * @throws IllegalArgumentException if the initial capacity is less than one
  -     * @throws IllegalArgumentException if the load factor is less than zero
  +     * @throws IllegalArgumentException if the load factor is less than or equal to zero
        */
       protected AbstractHashedMap(int initialCapacity, float loadFactor) {
           super();
  @@ -383,8 +383,8 @@
        * The reverse conversion can be changed, if required, by overriding the
        * getKey() method in the hash entry.
        * 
  -     * @param key  the key to get a hash code for
  -     * @return the hash code
  +     * @param key  the key convert
  +     * @return the converted key
        */
       protected Object convertKey(Object key) {
           return (key == null ? NULL : key);
  
  
  

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