mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-05-22 08:36:51 +08:00
修复下标越界错误
This commit is contained in:
@@ -214,7 +214,7 @@ public class AccessLoggerInfo {
|
||||
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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user