File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
server/src/main/java/org/elasticsearch/index/codec/tsdb Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,6 @@ public long longValue() throws IOException {
235235 static class NumericDocValuesSub extends DocIDMerger .Sub {
236236
237237 final NumericDocValues values ;
238- int docID = -1 ;
239238
240239 NumericDocValuesSub (MergeState .DocMap docMap , NumericDocValues values ) {
241240 super (docMap );
@@ -245,7 +244,7 @@ static class NumericDocValuesSub extends DocIDMerger.Sub {
245244
246245 @ Override
247246 public int nextDoc () throws IOException {
248- return docID = values .nextDoc ();
247+ return values .nextDoc ();
249248 }
250249 }
251250
@@ -334,7 +333,6 @@ public int docValueCount() {
334333 static class SortedNumericDocValuesSub extends DocIDMerger .Sub {
335334
336335 final SortedNumericDocValues values ;
337- int docID = -1 ;
338336
339337 SortedNumericDocValuesSub (MergeState .DocMap docMap , SortedNumericDocValues values ) {
340338 super (docMap );
@@ -344,7 +342,7 @@ static class SortedNumericDocValuesSub extends DocIDMerger.Sub {
344342
345343 @ Override
346344 public int nextDoc () throws IOException {
347- return docID = values .nextDoc ();
345+ return values .nextDoc ();
348346 }
349347 }
350348
You can’t perform that action at this time.
0 commit comments