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]);
}
}
if(prop.isNumber()){
list.add( new InputFilter.LengthFilter(prop.asNumber().toInt()));
if (prop.isNumber()) {
list.add(new InputFilter.LengthFilter(prop.asNumber().toInt()));
}
InputFilter[] newFilters = list.toArray(new InputFilter[list.size()]);