From 51a5b466321a9d86679631fb02cbb31dac80ea32 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Fri, 2 Nov 2001 14:44:35 +0000 Subject: [PATCH] Applied patch submitted by Richard Wan that containsKey() took a String by mistake git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130507 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/collections/BeanMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/collections/BeanMap.java b/src/java/org/apache/commons/collections/BeanMap.java index de510d5c3..a9cf00f16 100644 --- a/src/java/org/apache/commons/collections/BeanMap.java +++ b/src/java/org/apache/commons/collections/BeanMap.java @@ -147,7 +147,7 @@ public class BeanMap extends AbstractMap { } } - public boolean containsKey(String name) { + public boolean containsKey(Object name) { Method method = getReadMethod( name ); return method != null; }