mirror of https://github.com/apache/activemq.git
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:
parent
230a57b155
commit
1c1ed4d953
|
@ -203,7 +203,7 @@ public final class IntrospectionSupport {
|
||||||
for (int i = 0; i < methods.length; i++) {
|
for (int i = 0; i < methods.length; i++) {
|
||||||
Method method = methods[i];
|
Method method = methods[i];
|
||||||
Class params[] = method.getParameterTypes();
|
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;
|
return method;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue