Skip to content

Commit d6072d8

Browse files
committed
remove unused var
This was introduced from testConvertDouble where it is also unused.
1 parent 7108945 commit d6072d8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,10 +468,8 @@ public void testConvertStringList() throws Exception {
468468

469469
public void testConvertStringIntegralDoubleBillion() throws Exception {
470470
IngestDocument ingestDocument = RandomDocumentPicks.randomIngestDocument(random());
471-
Map<String, Double> expectedResult = new HashMap<>();
472471
double billion = 1e9;
473472
String fieldName = RandomDocumentPicks.addRandomField(random(), ingestDocument, billion);
474-
expectedResult.put(fieldName, billion);
475473

476474
Processor processor = new ConvertProcessor(randomAlphaOfLength(10), null, fieldName, fieldName, Type.STRING, false);
477475
processor.execute(ingestDocument);
@@ -480,10 +478,8 @@ public void testConvertStringIntegralDoubleBillion() throws Exception {
480478

481479
public void testConvertStringIntegralFloatTenMillion() throws Exception {
482480
IngestDocument ingestDocument = RandomDocumentPicks.randomIngestDocument(random());
483-
Map<String, Float> expectedResult = new HashMap<>();
484481
float tenMillion = (float) 1e7;
485482
String fieldName = RandomDocumentPicks.addRandomField(random(), ingestDocument, tenMillion);
486-
expectedResult.put(fieldName, tenMillion);
487483

488484
Processor processor = new ConvertProcessor(randomAlphaOfLength(10), null, fieldName, fieldName, Type.STRING, false);
489485
processor.execute(ingestDocument);

0 commit comments

Comments
 (0)