git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2011-04-11 13:36:15 +00:00
parent 83d1dbf5eb
commit 88c13f8e6b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class EventUtils {
* @throws Throwable if an error occurs
*/
public Object invoke(final Object proxy, final Method method, final Object[] parameters) throws Throwable {
if ( eventTypes.isEmpty() || eventTypes.contains(method.getName())) {
if (eventTypes.isEmpty() || eventTypes.contains(method.getName())) {
if (hasMatchingParametersMethod(method)) {
return MethodUtils.invokeMethod(target, methodName, parameters);
} else {