code format

This commit is contained in:
pengfei.zhou 2020-04-30 18:32:33 +08:00 committed by osborn
parent fd762bac86
commit f1a222f339

View File

@ -69,8 +69,8 @@ public class InputNode extends ViewNode<EditText> implements TextWatcher, View.O
list.add(currentFilters[i]); list.add(currentFilters[i]);
} }
} }
if(prop.isNumber()){ if (prop.isNumber()) {
list.add( new InputFilter.LengthFilter(prop.asNumber().toInt())); list.add(new InputFilter.LengthFilter(prop.asNumber().toInt()));
} }
InputFilter[] newFilters = list.toArray(new InputFilter[list.size()]); InputFilter[] newFilters = list.toArray(new InputFilter[list.size()]);