You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2001/11/02 15:44:35 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections BeanMap.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>