mirror of https://github.com/apache/lucene.git
fix SimpleCopyJob.compareTo test bug
This commit is contained in:
parent
81236ba48a
commit
dcbc49b06a
|
@ -118,6 +118,8 @@ class SimpleCopyJob extends CopyJob {
|
|||
return highPriority ? -1 : 1;
|
||||
} else if (ord < other.ord) {
|
||||
return -1;
|
||||
} else if (ord > other.ord) {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue