Skip to content

Commit cd41af1

Browse files
committed
Remove unused five arg arity
1 parent 3579dfb commit cd41af1

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

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

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -126,24 +126,13 @@ private void testRegisteredDomainProcessor(
126126
String expectedRegisteredDomain,
127127
String expectedETLD,
128128
String expectedSubdomain
129-
) throws Exception {
130-
testRegisteredDomainProcessor(source, expectedDomain, expectedRegisteredDomain, expectedETLD, expectedSubdomain, true);
131-
}
132-
133-
private void testRegisteredDomainProcessor(
134-
Map<String, Object> source,
135-
String expectedDomain,
136-
String expectedRegisteredDomain,
137-
String expectedETLD,
138-
String expectedSubdomain,
139-
boolean ignoreMissing
140129
) throws Exception {
141130
String domainField = "url.domain";
142131
String registeredDomainField = "url.registered_domain";
143132
String topLevelDomainField = "url.top_level_domain";
144133
String subdomainField = "url.subdomain";
145134

146-
var processor = new RegisteredDomainProcessor(null, null, "domain", "url", ignoreMissing);
135+
var processor = new RegisteredDomainProcessor(null, null, "domain", "url", true);
147136

148137
IngestDocument document = TestIngestDocument.withDefaultVersion(source);
149138
processor.execute(document);

0 commit comments

Comments
 (0)