activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foco...@apache.org
Subject svn commit: r411145 - /incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/ReflectionUtil.java
Date Fri, 02 Jun 2006 12:48:44 GMT
Author: foconer
Date: Fri Jun  2 05:48:44 2006
New Revision: 411145

URL: http://svn.apache.org/viewvc?rev=411145&view=rev
Log:
fixed compilation error.

Modified:
    incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/ReflectionUtil.java

Modified: incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/ReflectionUtil.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/ReflectionUtil.java?rev=411145&r1=411144&r2=411145&view=diff
==============================================================================
--- incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/ReflectionUtil.java
(original)
+++ incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/ReflectionUtil.java
Fri Jun  2 05:48:44 2006
@@ -55,7 +55,9 @@
             String methodName = "set" + name.substring(0,1).toUpperCase() + name.substring(1);
 
             Method method = getPrimitiveMethod(targetClass, methodName, val);
-            method.invoke(target, val);
+            Object[] objVal = {val};
+            method.invoke(target, objVal);
+            //method.invoke(target, val);
             //System.out.println("." + methodName + "(" + val + ")");
         } catch (Exception e) {
             log.warn("", e);



Mime
View raw message