Przeglądaj źródła

Remove redundant code.

1993heqiang 2 lat temu
rodzic
commit
94c80bc2c6

+ 1 - 1
web/src/main/java/org/springframework/security/web/access/ExceptionTranslationFilter.java

@@ -94,7 +94,7 @@ public class ExceptionTranslationFilter extends GenericFilterBean implements Mes
 
 	private ThrowableAnalyzer throwableAnalyzer = new DefaultThrowableAnalyzer();
 
-	private RequestCache requestCache = new HttpSessionRequestCache();
+	private final RequestCache requestCache;
 
 	protected MessageSourceAccessor messages = SpringSecurityMessageSource.getAccessor();