I find this easier to read, sue me :)
This commit is contained in:
parent
304289350a
commit
a1eea8ce39
@ -219,8 +219,9 @@ public class MotorRowFilter extends RowFilter<TableModel, Integer> implements Ch
|
|||||||
main: for (String s : searchTerms) {
|
main: for (String s : searchTerms) {
|
||||||
for (ThrustCurveMotorColumns col : ThrustCurveMotorColumns.values()) {
|
for (ThrustCurveMotorColumns col : ThrustCurveMotorColumns.values()) {
|
||||||
String str = col.getValue(m).toString().toLowerCase(Locale.getDefault());
|
String str = col.getValue(m).toString().toLowerCase(Locale.getDefault());
|
||||||
if (str.indexOf(s) >= 0)
|
if (str.contains(s)) {
|
||||||
continue main;
|
continue main;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user