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/map ListOrderedMap.java
Date Thu, 20 Nov 2003 21:46:41 GMT
scolebourne    2003/11/20 13:46:41

  Modified:    collections/src/java/org/apache/commons/collections/map
                        ListOrderedMap.java
  Log:
  Fix to return correct interface type from factory
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-commons/collections/src/java/org/apache/commons/collections/map/ListOrderedMap.java
  
  Index: ListOrderedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/ListOrderedMap.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ListOrderedMap.java	20 Nov 2003 00:03:05 -0000	1.2
  +++ ListOrderedMap.java	20 Nov 2003 21:46:41 -0000	1.3
  @@ -104,7 +104,7 @@
        * @param map  the map to decorate, must not be null
        * @throws IllegalArgumentException if map is null
        */
  -    public static Map decorate(Map map) {
  +    public static OrderedMap decorate(Map map) {
           return new ListOrderedMap(map);
       }
   
  
  
  

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