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 MapUtils.java
Date Wed, 22 Sep 2004 23:09:54 GMT
scolebourne    2004/09/22 16:09:54

  Modified:    collections/src/java/org/apache/commons/collections
                        MapUtils.java
  Log:
  Add method putAll to put an array of key/value pairs into a map
  Bug 30882, suggested by Rafael U. C. Afonso
  
  Revision  Changes    Path
  1.49      +2 -1      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.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- MapUtils.java	22 Sep 2004 23:03:50 -0000	1.48
  +++ MapUtils.java	22 Sep 2004 23:09:54 -0000	1.49
  @@ -1145,6 +1145,7 @@
        * @throws IllegalArgumentException  if sub-array or entry matching used and an
        *  entry is invalid
        * @throws ClassCaseException if the array contents is mixed
  +     * @since Commons Collections 3.2
        */
       public static Map putAll(Map map, Object[] array) {
           map.size();  // force NPE
  
  
  

---------------------------------------------------------------------
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