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;
             }
         }


Reply via email to