mirror of https://github.com/apache/lucene.git
LUCENE-2497: fix a bug that was introduced in LUCENE-2480
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@953986 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
51f649e353
commit
1cf9b74a22
|
@ -154,7 +154,8 @@ public final class SegmentInfo {
|
|||
}
|
||||
if (format > SegmentInfos.FORMAT_4_0) {
|
||||
// pre-4.0 indexes write a byte if there is a single norms file
|
||||
assert 1 == input.readByte();
|
||||
byte b = input.readByte();
|
||||
assert 1 == b;
|
||||
}
|
||||
int numNormGen = input.readInt();
|
||||
if (numNormGen == NO) {
|
||||
|
|
Loading…
Reference in New Issue