git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
83d1dbf5eb
commit
88c13f8e6b
|
@ -107,7 +107,7 @@ public class EventUtils {
|
||||||
* @throws Throwable if an error occurs
|
* @throws Throwable if an error occurs
|
||||||
*/
|
*/
|
||||||
public Object invoke(final Object proxy, final Method method, final Object[] parameters) throws Throwable {
|
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)) {
|
if (hasMatchingParametersMethod(method)) {
|
||||||
return MethodUtils.invokeMethod(target, methodName, parameters);
|
return MethodUtils.invokeMethod(target, methodName, parameters);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue