You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2007/10/23 21:11:43 UTC
svn commit: r587618 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
Author: chirino
Date: Tue Oct 23 12:11:34 2007
New Revision: 587618
URL: http://svn.apache.org/viewvc?rev=587618&view=rev
Log:
allow any setter to be called
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java?rev=587618&r1=587617&r2=587618&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java Tue Oct 23 12:11:34 2007
@@ -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;
}
}