Cleanup explicit type arguments

This commit is contained in:
Lars Grefer
2019-07-04 19:08:54 +02:00
committed by Rob Winch
parent c5b5cc507c
commit 3ea9d376b2
50 changed files with 68 additions and 68 deletions

View File

@@ -58,7 +58,7 @@ public class ExpressionBasedMessageSecurityMetadataSourceFactoryTests {
public void setup() {
expression1 = "permitAll";
expression2 = "denyAll";
matcherToExpression = new LinkedHashMap<MessageMatcher<?>, String>();
matcherToExpression = new LinkedHashMap<>();
matcherToExpression.put(matcher1, expression1);
matcherToExpression.put(matcher2, expression2);

View File

@@ -54,7 +54,7 @@ public class DefaultMessageSecurityMetadataSourceTests {
@Before
public void setup() {
messageMap = new LinkedHashMap<MessageMatcher<?>, Collection<ConfigAttribute>>();
messageMap = new LinkedHashMap<>();
messageMap.put(matcher1, Arrays.<ConfigAttribute> asList(config1));
messageMap.put(matcher2, Arrays.<ConfigAttribute> asList(config2));