mirror of https://github.com/apache/lucene.git
IntelliJ flagged these two lines as being unreachable, and indeed they are
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eccdbdae6d
commit
d9cd661cde
|
@ -122,8 +122,6 @@ extends PriorityQueue {
|
||||||
|
|
||||||
ScoreDocComparator comparer = null;
|
ScoreDocComparator comparer = null;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case SortField.SCORE: comparer = ScoreDocComparator.RELEVANCE; break;
|
|
||||||
case SortField.DOC: comparer = ScoreDocComparator.INDEXORDER; break;
|
|
||||||
case SortField.AUTO: comparer = determineComparator (reader, field); break;
|
case SortField.AUTO: comparer = determineComparator (reader, field); break;
|
||||||
case SortField.STRING: comparer = StringSortedHitQueue.comparator (reader, field); break;
|
case SortField.STRING: comparer = StringSortedHitQueue.comparator (reader, field); break;
|
||||||
case SortField.INT: comparer = IntegerSortedHitQueue.comparator (reader, field); break;
|
case SortField.INT: comparer = IntegerSortedHitQueue.comparator (reader, field); break;
|
||||||
|
|
Loading…
Reference in New Issue