mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-04 01:32:14 +00:00
Polish
This commit is contained in:
parent
e99e2a9f09
commit
57d26ffa10
@ -112,7 +112,7 @@ public class PrePostAdviceReactiveMethodInterceptor implements MethodInterceptor
|
||||
);
|
||||
}
|
||||
|
||||
private<T extends Publisher<?>> T proceed(final MethodInvocation invocation) {
|
||||
private static <T extends Publisher<?>> T proceed(final MethodInvocation invocation) {
|
||||
try {
|
||||
return (T) invocation.proceed();
|
||||
} catch(Throwable throwable) {
|
||||
@ -131,7 +131,7 @@ public class PrePostAdviceReactiveMethodInterceptor implements MethodInterceptor
|
||||
return null;
|
||||
}
|
||||
|
||||
private PreInvocationAttribute findPreInvocationAttribute(
|
||||
private static PreInvocationAttribute findPreInvocationAttribute(
|
||||
Collection<ConfigAttribute> config) {
|
||||
for (ConfigAttribute attribute : config) {
|
||||
if (attribute instanceof PreInvocationAttribute) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user