Skip to content

Commit

Permalink
修复下标越界错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Sep 4, 2018
1 parent 87f374d commit 673a443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public Map<String, Object> toSimpleMap(Function<Object, Serializable> objectFilt
Class[] parameterTypes = method.getParameterTypes();

for (int i = 0; i < parameterTypes.length; i++) {
methodAppender.add(parameterTypes[i].getSimpleName().concat(" ").concat(parameterNames.length >= i ? parameterNames[i] : ("arg" + i)));
methodAppender.add(parameterTypes[i].getSimpleName().concat(" ").concat(parameterNames.length > i ? parameterNames[i] : ("arg" + i)));
}
map.put("method", methodAppender.toString());
}
Expand Down

0 comments on commit 673a443

Please sign in to comment.