commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pj...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections ProxyMap.java
Date Mon, 12 Aug 2002 22:51:13 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message