IDEA inspection refactorings.

This commit is contained in:
Luke Taylor
2010-08-05 22:47:42 +01:00
parent a3d27a9863
commit 85c4c91e0e
175 changed files with 428 additions and 551 deletions

View File

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

View File

@@ -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();

View File

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