use byte value

This commit is contained in:
kimchy 2011-03-13 00:51:12 +02:00
parent 09006f17c3
commit 7c04ef6cbc

View File

@ -46,7 +46,7 @@ public class ByteFieldDataComparator extends NumericFieldDataComparator {
} }
@Override public int compareBottom(int doc) { @Override public int compareBottom(int doc) {
return bottom - currentFieldData.shortValue(doc); return bottom - currentFieldData.byteValue(doc);
} }
@Override public void copy(int slot, int doc) { @Override public void copy(int slot, int doc) {