From 1c1ed4d953b9580e5ccc72f6a63ca6f8039edb00 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Tue, 23 Oct 2007 19:11:34 +0000 Subject: [PATCH] allow any setter to be called git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587618 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/util/IntrospectionSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0f55dab764..9d5a8d47a3 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 @@ public final class IntrospectionSupport { 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; } }