1
0
mirror of synced 2026-05-22 21:33:16 +00:00

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
@@ -74,7 +74,7 @@ public class OpenID4JavaConsumer implements OpenIDConsumer {
throws ConsumerException {
this.consumerManager = consumerManager;
this.attributesToFetchFactory = new AxFetchListFactory() {
private List<OpenIDAttribute> fetchAttrs = Collections.unmodifiableList(attributes);
private final List<OpenIDAttribute> fetchAttrs = Collections.unmodifiableList(attributes);
public List<OpenIDAttribute> createAttributeList(String identifier) {
return fetchAttrs;
@@ -121,7 +121,7 @@ public class OpenIDAuthenticationProvider implements AuthenticationProvider, Ini
/* (non-Javadoc)
* @see org.springframework.security.authentication.AuthenticationProvider#supports(java.lang.Class)
*/
public boolean supports(Class<? extends Object> authentication) {
public boolean supports(Class<?> authentication) {
return OpenIDAuthenticationToken.class.isAssignableFrom(authentication);
}
}
@@ -48,7 +48,7 @@ public class OpenIDAuthenticationStatus implements Serializable {
//~ Instance fields ================================================================================================
private String name;
private final String name;
private final int ordinal = nextOrdinal++;
//~ Constructors ===================================================================================================