mirror of https://github.com/apache/lucene.git
make these variables final, maybe to dodge J9 bugs, but more just because they can be
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
173a44e67c
commit
054a386610
|
@ -210,8 +210,8 @@ class Lucene49NormsConsumer extends DocValuesConsumer {
|
|||
// specialized deduplication of long->ord for norms: 99.99999% of the time this will be a single-byte range.
|
||||
static class NormMap {
|
||||
// we use short: at most we will add 257 values to this map before its rejected as too big above.
|
||||
short[] singleByteRange = new short[256];
|
||||
Map<Long,Short> other = new HashMap<Long,Short>();
|
||||
final short[] singleByteRange = new short[256];
|
||||
final Map<Long,Short> other = new HashMap<Long,Short>();
|
||||
int size;
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue