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:
Gary D. Gregory 2014-06-27 13:03:36 +00:00
parent 7b33ab10de
commit 0ff8493544
1 changed files with 1 additions and 2 deletions

View File

@ -111,9 +111,8 @@ public class EventUtils {
if (eventTypes.isEmpty() || eventTypes.contains(method.getName())) { if (eventTypes.isEmpty() || eventTypes.contains(method.getName())) {
if (hasMatchingParametersMethod(method)) { if (hasMatchingParametersMethod(method)) {
return MethodUtils.invokeMethod(target, methodName, parameters); return MethodUtils.invokeMethod(target, methodName, parameters);
} else {
return MethodUtils.invokeMethod(target, methodName);
} }
return MethodUtils.invokeMethod(target, methodName);
} }
return null; return null;
} }