Skip to content

Commit d80bf42

Browse files
committed
There's no need to declare types here
1 parent 9aa39f7 commit d80bf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/CommunityIdProcessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ public void testStringAndNumber() throws Exception {
271271
event.put("icmp", icmp);
272272
testCommunityIdProcessor(event, "1:KF3iG9XD24nhlSy4r1TcYIr5mfE=");
273273

274-
icmp = new HashMap<String, Object>();
274+
icmp = new HashMap<>();
275275
icmp.put("type", "3");
276276
icmp.put("code", "3");
277277
event.put("icmp", icmp);

0 commit comments

Comments
 (0)