diff --git a/lucene/src/java/org/apache/lucene/search/cache/ShortValuesCreator.java b/lucene/src/java/org/apache/lucene/search/cache/ShortValuesCreator.java index a6c1101036a..a628c536596 100644 --- a/lucene/src/java/org/apache/lucene/search/cache/ShortValuesCreator.java +++ b/lucene/src/java/org/apache/lucene/search/cache/ShortValuesCreator.java @@ -119,7 +119,7 @@ public class ShortValuesCreator extends CachedArrayCreator if (term == null) { break; } - final Short termval = parser.parseShort(term); + final short termval = parser.parseShort(term); docs = termsEnum.docs(null, docs); while (true) { final int docID = docs.nextDoc();