IDEA inspection refactorings.
This commit is contained in:
@@ -10,7 +10,7 @@ public enum AppRole implements GrantedAuthority {
|
||||
NEW_USER (1),
|
||||
USER (2);
|
||||
|
||||
private int bit;
|
||||
private final int bit;
|
||||
|
||||
/**
|
||||
* Creates an authority with a specific bit representation. It's important that this doesn't
|
||||
|
||||
@@ -32,7 +32,7 @@ public class GaeAuthenticationFilter extends GenericFilterBean {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
private AuthenticationDetailsSource ads = new WebAuthenticationDetailsSource();
|
||||
private final AuthenticationDetailsSource ads = new WebAuthenticationDetailsSource();
|
||||
private AuthenticationManager authenticationManager;
|
||||
private AuthenticationFailureHandler failureHandler = new SimpleUrlAuthenticationFailureHandler();
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.springframework.util.Assert;
|
||||
public class InMemoryUserRegistry implements UserRegistry {
|
||||
private final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
private Map<String, GaeUser> users = Collections.synchronizedMap(new HashMap<String, GaeUser>());
|
||||
private final Map<String, GaeUser> users = Collections.synchronizedMap(new HashMap<String, GaeUser>());
|
||||
|
||||
public GaeUser findUser(String userId) {
|
||||
return users.get(userId);
|
||||
|
||||
Reference in New Issue
Block a user