Made requested changes for merge
Changed for-each loop back to for loop (for efficiency)
This commit is contained in:
parent
9db6cdc1c2
commit
26cd24717e
1 changed files with 2 additions and 2 deletions
|
@ -1166,8 +1166,8 @@ public class FolderList extends K9ListActivity {
|
||||||
}
|
}
|
||||||
final String valueText = value.displayName.toLowerCase(locale);
|
final String valueText = value.displayName.toLowerCase(locale);
|
||||||
|
|
||||||
for (String word : words) {
|
for (int k = 0; k < wordCount; k++) {
|
||||||
if (valueText.contains(word)) {
|
if (valueText.contains(words[k])) {
|
||||||
newValues.add(value);
|
newValues.add(value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue