Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
dstepanov committed Dec 1, 2023
1 parent d63db13 commit f337d35
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ public String getMethodName() {

@Override
public final Object invoke(Object instance, Object... arguments) {
ArgumentUtils.validateArguments(this, getArguments(), arguments);
if (arguments.length > 0) {
ArgumentUtils.validateArguments(this, getArguments(), arguments);
}
return invokeInternal(instance, arguments);
}

Expand Down

0 comments on commit f337d35

Please sign in to comment.