Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1606082 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7b33ab10de
commit
0ff8493544
|
@ -111,9 +111,8 @@ public class EventUtils {
|
|||
if (eventTypes.isEmpty() || eventTypes.contains(method.getName())) {
|
||||
if (hasMatchingParametersMethod(method)) {
|
||||
return MethodUtils.invokeMethod(target, methodName, parameters);
|
||||
} else {
|
||||
return MethodUtils.invokeMethod(target, methodName);
|
||||
}
|
||||
return MethodUtils.invokeMethod(target, methodName);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue