Skip to content

Commit 43dd82d

Browse files
committed
Inline this declaration
1 parent b72fd61 commit 43dd82d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,8 @@ public void testSeed() throws Exception {
105105
}
106106

107107
public void testRequiredFields() throws Exception {
108-
HashMap<String, Object> config = new HashMap<>();
109108
String tag = randomAlphaOfLength(10);
110-
CommunityIdProcessor processor = factory.create(null, tag, null, config, null);
109+
CommunityIdProcessor processor = factory.create(null, tag, null, new HashMap<>(), null);
111110
assertThat(processor.getTag(), equalTo(tag));
112111
assertThat(processor.getSourceIpField(), equalTo(DEFAULT_SOURCE_IP));
113112
assertThat(processor.getSourcePortField(), equalTo(DEFAULT_SOURCE_PORT));

0 commit comments

Comments
 (0)