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:
Erik Hatcher 2004-05-07 15:18:09 +00:00
parent eccdbdae6d
commit d9cd661cde
1 changed files with 0 additions and 2 deletions

View File

@ -122,8 +122,6 @@ extends PriorityQueue {
ScoreDocComparator comparer = null;
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.STRING: comparer = StringSortedHitQueue.comparator (reader, field); break;
case SortField.INT: comparer = IntegerSortedHitQueue.comparator (reader, field); break;