You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by pj...@apache.org on 2002/08/13 00:51:13 UTC

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

pjack       2002/08/12 15:51:13

  Modified:    collections/src/java/org/apache/commons/collections
                        ProxyMap.java
  Log:
  Fixed infinite recursion in equals(Object) method.
  
  Revision  Changes    Path
  1.4       +5 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/ProxyMap.java
  
  Index: ProxyMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/ProxyMap.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ProxyMap.java	12 Jun 2002 03:59:15 -0000	1.3
  +++ ProxyMap.java	12 Aug 2002 22:51:13 -0000	1.4
  @@ -113,8 +113,8 @@
           return map.entrySet();
       }
   
  -    public boolean equals(Object map) {
  -        return map.equals(map);
  +    public boolean equals(Object m) {
  +        return map.equals(m);
       }
   
       public Object get(Object key) {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>