IDEA inspection refactorings.
This commit is contained in:
@@ -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;
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ public class OpenIDAuthenticationStatus implements Serializable {
|
||||
|
||||
//~ Instance fields ================================================================================================
|
||||
|
||||
private String name;
|
||||
private final String name;
|
||||
private final int ordinal = nextOrdinal++;
|
||||
|
||||
//~ Constructors ===================================================================================================
|
||||
|
||||
Reference in New Issue
Block a user