allow any setter to be called

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2007-10-23 19:11:34 +00:00
parent 230a57b155
commit 1c1ed4d953
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ public final class IntrospectionSupport {
for (int i = 0; i < methods.length; i++) {
Method method = methods[i];
Class params[] = method.getParameterTypes();
if (method.getName().equals(name) && params.length == 1 && isSettableType(params[0])) {
if (method.getName().equals(name) && params.length == 1 ) {
return method;
}
}