| commit | 1c1ed4d953b9580e5ccc72f6a63ca6f8039edb00 | [log] [tgz] |
|---|---|---|
| author | Hiram R. Chirino <chirino@apache.org> | Tue Oct 23 19:11:34 2007 +0000 |
| committer | Hiram R. Chirino <chirino@apache.org> | Tue Oct 23 19:11:34 2007 +0000 |
| tree | ce880bfd4ebbc837bed5dc8b94cc8dc12197b078 | |
| parent | 230a57b155287f517ea7104ab3c5515a48d2657b [diff] |
allow any setter to be called git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587618 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java b/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java index 0f55dab..9d5a8d4 100755 --- a/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java +++ b/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
@@ -203,7 +203,7 @@ 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; } }