From 57d26ffa10c297c2bfe290835a31d95dd2926680 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Tue, 10 Oct 2017 14:21:41 -0500 Subject: [PATCH] Polish --- .../access/method/PrePostAdviceReactiveMethodInterceptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/springframework/security/access/method/PrePostAdviceReactiveMethodInterceptor.java b/core/src/main/java/org/springframework/security/access/method/PrePostAdviceReactiveMethodInterceptor.java index fe6ee08be0..6d627b0f10 100644 --- a/core/src/main/java/org/springframework/security/access/method/PrePostAdviceReactiveMethodInterceptor.java +++ b/core/src/main/java/org/springframework/security/access/method/PrePostAdviceReactiveMethodInterceptor.java @@ -112,7 +112,7 @@ public class PrePostAdviceReactiveMethodInterceptor implements MethodInterceptor ); } - private> T proceed(final MethodInvocation invocation) { + private static > 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 config) { for (ConfigAttribute attribute : config) { if (attribute instanceof PreInvocationAttribute) {