Cleanup explicit type arguments
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user