refactor(auth): 将 requestCache 字段修改为 final,增强类的不可变性

This commit is contained in:
冷冷 committed 2025-02-18 22:18:46 +08:00
1 parent 3a5d7a9eb9
commit 8afdafbea4
1 file changed
+1 -1
@@ -25,7 +25,7 @@ import java.io.IOException;
@Slf4j
public class TenantSavedRequestAwareAuthenticationSuccessHandler extends SimpleUrlAuthenticationSuccessHandler {
private RequestCache requestCache = new HttpSessionRequestCache();
private final RequestCache requestCache = new HttpSessionRequestCache();
public TenantSavedRequestAwareAuthenticationSuccessHandler() {
}