fix rwi doubledom return best (highest) ranking

pull/51/head
reger 9 years ago
parent 99ae8589b7
commit 6ecc180299

@ -1099,7 +1099,7 @@ public final class SearchEvent {
}
o = m.peek();
if (o == null) continue doubleloop;
if (o.getWeight() < bestEntry.getWeight()) bestEntry = o;
if (o.getWeight() > bestEntry.getWeight()) bestEntry = o;
}
if (bestEntry == null) {
//Log.logWarning("SearchEvent", "bestEntry == null (1)");

Loading…
Cancel
Save