activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r587618 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
Date Tue, 23 Oct 2007 19:11:43 GMT
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;
             }
         }



Mime
View raw message