don't box and unbox

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1183740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-10-15 21:55:49 +00:00
parent 7af9fbd16d
commit 9ce0604126
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class ShortValuesCreator extends CachedArrayCreator<ShortValues>
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();