浏览代码

Remove redundant code.

1993heqiang 2 年之前
父节点
当前提交
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();