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) {
|
||||
for (ThrustCurveMotorColumns col : ThrustCurveMotorColumns.values()) {
|
||||
String str = col.getValue(m).toString().toLowerCase(Locale.getDefault());
|
||||
if (str.indexOf(s) >= 0)
|
||||
if (str.contains(s)) {
|
||||
continue main;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user