mirror of https://github.com/apache/activemq.git
Fix for https://issues.apache.org/jira/browse/AMQ-4289 activemq-perf-maven-plugin is unusable because of bug in ReflectionUtil helper class
previous commit actually had fix commented out. this has the fix. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9a2d3d8613
commit
863f47997e
|
@ -213,8 +213,7 @@ public final class ReflectionUtil {
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
Object val = getterMethods[i].invoke(targetObject, null);
|
Object val = getterMethods[i].invoke(targetObject, null);
|
||||||
// if (val != null && val != targetObject) {
|
if (val != null && val != targetObject) {
|
||||||
if (val != null ) {
|
|
||||||
props.putAll(retrieveClassProperties(propertyName + ".", val.getClass(), val));
|
props.putAll(retrieveClassProperties(propertyName + ".", val.getClass(), val));
|
||||||
}
|
}
|
||||||
} catch (InvocationTargetException e) {
|
} catch (InvocationTargetException e) {
|
||||||
|
|
Loading…
Reference in New Issue