Fix scores ordering
This commit is contained in:
parent
203ab6c10e
commit
37bbafdfbf
@ -18,7 +18,8 @@ public final class ScoredValue<T> implements Comparable<ScoredValue<T>> {
|
||||
|
||||
@Override
|
||||
public int compareTo(@NotNull ScoredValue<T> o) {
|
||||
return Float.compare(this.score, o.score);
|
||||
// This is reversed
|
||||
return Float.compare(o.score, this.score);
|
||||
}
|
||||
|
||||
public float getScore() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user