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

View File

@@ -104,7 +104,7 @@ public class OpenIDAuthenticationProviderTests {
public void testAuthenticateFailure() {
OpenIDAuthenticationProvider provider = new OpenIDAuthenticationProvider();
provider.setAuthenticationUserDetailsService(
new UserDetailsByNameServiceWrapper<OpenIDAuthenticationToken>(
new UserDetailsByNameServiceWrapper<>(
new MockUserDetailsService()));
Authentication preAuth = new OpenIDAuthenticationToken(