mirror of https://github.com/apache/activemq.git
fixed compilation error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b8fdcdb93
commit
c5ce043ca7
|
@ -55,7 +55,9 @@ public final class ReflectionUtil {
|
||||||
String methodName = "set" + name.substring(0,1).toUpperCase() + name.substring(1);
|
String methodName = "set" + name.substring(0,1).toUpperCase() + name.substring(1);
|
||||||
|
|
||||||
Method method = getPrimitiveMethod(targetClass, methodName, val);
|
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 + ")");
|
//System.out.println("." + methodName + "(" + val + ")");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.warn("", e);
|
log.warn("", e);
|
||||||
|
|
Loading…
Reference in New Issue