Skip to content

Commit

Permalink
fix: resolve apache#2218
Browse files Browse the repository at this point in the history
  • Loading branch information
玄扈 committed Aug 13, 2018
1 parent 1c16f78 commit e588bc7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ private static boolean isMatch(Class<?>[] types, List<Object> args) {
for (int i = 0; i < types.length; i++) {
Class<?> type = types[i];
Object arg = args.get(i);
if (arg == null){
continue;
}
if (ReflectUtils.isPrimitive(arg.getClass())) {
if (!ReflectUtils.isPrimitive(type)) {
return false;
Expand Down

0 comments on commit e588bc7

Please sign in to comment.