commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections BeanMap.java
Date Fri, 02 Nov 2001 14:44:35 GMT
jstrachan    01/11/02 06:44:35

  Modified:    collections/src/java/org/apache/commons/collections
                        BeanMap.java
  Log:
  Applied patch submitted by Richard Wan that containsKey() took a String by mistake
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java
  
  Index: BeanMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BeanMap.java	2001/05/06 11:04:25	1.1
  +++ BeanMap.java	2001/11/02 14:44:35	1.2
  @@ -147,7 +147,7 @@
           }
       }
   
  -    public boolean containsKey(String name) {
  +    public boolean containsKey(Object name) {
           Method method = getReadMethod( name );
           return method != null;
       }
  
  
  

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