mirror of https://github.com/apache/lucene.git
Make lessThan() implementation non-final, fixing bug #34028.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@158633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b25ded1337
commit
f654321707
|
@ -80,7 +80,7 @@ extends PriorityQueue {
|
||||||
* @param b ScoreDoc
|
* @param b ScoreDoc
|
||||||
* @return <code>true</code> if document <code>a</code> should be sorted after document <code>b</code>.
|
* @return <code>true</code> if document <code>a</code> should be sorted after document <code>b</code>.
|
||||||
*/
|
*/
|
||||||
protected final boolean lessThan (final Object a, final Object b) {
|
protected boolean lessThan (final Object a, final Object b) {
|
||||||
final ScoreDoc docA = (ScoreDoc) a;
|
final ScoreDoc docA = (ScoreDoc) a;
|
||||||
final ScoreDoc docB = (ScoreDoc) b;
|
final ScoreDoc docB = (ScoreDoc) b;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue