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:
Robert Muir 2014-07-11 00:48:47 +00:00
parent 173a44e67c
commit 054a386610
1 changed files with 2 additions and 2 deletions

View File

@ -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. // specialized deduplication of long->ord for norms: 99.99999% of the time this will be a single-byte range.
static class NormMap { static class NormMap {
// we use short: at most we will add 257 values to this map before its rejected as too big above. // 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]; final short[] singleByteRange = new short[256];
Map<Long,Short> other = new HashMap<Long,Short>(); final Map<Long,Short> other = new HashMap<Long,Short>();
int size; int size;
{ {