1
0
mirror of synced 2026-08-05 09:47:05 +00:00

Use diamond type

This commit is contained in:
Johnny Lim
2017-11-20 02:25:30 +09:00
committed by Rob Winch
parent cfe40358bd
commit 57353d18e5
221 changed files with 423 additions and 428 deletions
@@ -38,7 +38,7 @@ import org.springframework.security.openid.OpenIDAuthenticationToken;
public class CustomUserDetailsService implements UserDetailsService,
AuthenticationUserDetailsService<OpenIDAuthenticationToken> {
private final Map<String, CustomUserDetails> registeredUsers = new HashMap<String, CustomUserDetails>();
private final Map<String, CustomUserDetails> registeredUsers = new HashMap<>();
private static final List<GrantedAuthority> DEFAULT_AUTHORITIES = AuthorityUtils
.createAuthorityList("ROLE_USER");