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:
Frederick G. Oconer 2006-06-02 12:48:44 +00:00
parent 0b8fdcdb93
commit c5ce043ca7
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,9 @@ public final class ReflectionUtil {
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);