Improve search

This commit is contained in:
Victor Shcherb 2020-02-27 15:53:01 +02:00 committed by max-klaus
parent 72cdeb2ffb
commit fc65678ce4

View file

@ -893,15 +893,6 @@ public class SearchUICore {
if (ps1 != ps2) {
return Double.compare(ps1, ps2);
}
// if (o1.parentSearchResult != null && o2.parentSearchResult != null) {
// if (o1.parentSearchResult == o2.parentSearchResult) {
// int cmp = collator.compare(localeName1, localeName2);
// if (cmp != 0) {
// return cmp;
// }
// }
// return Double.compare(s1, s2);
// }
int cmp = collator.compare(localeName1, localeName2);
if (cmp != 0) {
return cmp;