Skip to content

Commit

Permalink
BUG: Lucene.Net.Codecs.Lucene42.Lucene42DocValuesProducer::LoadNumeri…
Browse files Browse the repository at this point in the history
…c(): Throw AssertionError rather than InvalidOperationException (see #446).
  • Loading branch information
NightOwl888 committed Apr 26, 2021
1 parent a1da7e1 commit 69ddeae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ private NumericDocValues LoadNumeric(FieldInfo field)
return new NumericDocValuesAnonymousClass3(min, mult, quotientReader);

default:
throw new InvalidOperationException();
throw AssertionError.Create();
}
}

Expand Down

0 comments on commit 69ddeae

Please sign in to comment.