Rob Winch 7 년 전
부모
커밋
57d26ffa10
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      core/src/main/java/org/springframework/security/access/method/PrePostAdviceReactiveMethodInterceptor.java

+ 2 - 2
core/src/main/java/org/springframework/security/access/method/PrePostAdviceReactiveMethodInterceptor.java

@@ -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) {