mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Remove unnecessary method.isAccessible() invocation
Closes gh-32548
This commit is contained in:
+1
-1
@@ -305,7 +305,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
||||
if (function == null) {
|
||||
return method.invoke(target, args);
|
||||
}
|
||||
if (method.isAccessible() && !KCallablesJvm.isAccessible(function)) {
|
||||
if (!KCallablesJvm.isAccessible(function)) {
|
||||
KCallablesJvm.setAccessible(function, true);
|
||||
}
|
||||
Map<KParameter, Object> argMap = CollectionUtils.newHashMap(args.length + 1);
|
||||
|
||||
Reference in New Issue
Block a user