You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dg...@apache.org on 2003/09/22 02:29:20 UTC

cvs commit: jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl BasicMessageList.java

dgraham     2003/09/21 17:29:20

  Modified:    resources/src/java/org/apache/commons/resources/impl
                        BasicMessageList.java
  Log:
  Changed messages declaration from HashMap to Map so we
  can change the underlying implementation later.
  
  Revision  Changes    Path
  1.7       +6 -5      jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/BasicMessageList.java
  
  Index: BasicMessageList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/BasicMessageList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BasicMessageList.java	22 Sep 2003 00:25:12 -0000	1.6
  +++ BasicMessageList.java	22 Sep 2003 00:29:20 -0000	1.7
  @@ -68,6 +68,7 @@
   import java.util.HashMap;
   import java.util.Iterator;
   import java.util.List;
  +import java.util.Map;
   
   import org.apache.commons.resources.Message;
   import org.apache.commons.resources.MessageList;
  @@ -104,7 +105,7 @@
        * The accumulated set of <code>Message</code> objects (represented
        * as a List) for each property, keyed by property name.
        */
  -    protected HashMap messages = new HashMap();
  +    protected Map messages = new HashMap();
   
       /**
        * The current number of the property/key being added.  This is used