Remove leftover code in SearchUtil.

Closes #12090
fork-5.53.8
clauz9 2022-03-24 11:13:46 +02:00 zatwierdzone przez Greyson Parrelli
rodzic 1e316ea19f
commit 2ebaa04c2f
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -66,11 +66,6 @@ public class SearchUtil {
default:
throw new InvalidParameterException("match mode must be STRICT or MATCH_ALL: " + matchMode);
}
if (matchMode == STRICT) {
ranges = getStrictHighlightRanges(locale, text.toString(), highlight);
} else {
ranges = getHighlightRanges(locale, text.toString(), highlight);
}
for (Pair<Integer, Integer> range : ranges) {
spanned.setSpan(styleFactory.create(), range.first(), range.second(), Spannable.SPAN_INCLUSIVE_EXCLUSIVE);