Fix lint for D2880851
Reviewed By: andreicoman11 Differential Revision: D2890474 fb-gh-sync-id: 2d6b2a9a5caa1964646706ba75a5fae8350d0ee5
This commit is contained in:
parent
2633f10588
commit
804b23811b
|
@ -70,7 +70,7 @@ public class ReactEditText extends EditText {
|
|||
private @Nullable SelectionWatcher mSelectionWatcher;
|
||||
private final InternalKeyListener mKeyListener;
|
||||
|
||||
private static KeyListener sKeyListener = QwertyKeyListener.getInstanceForFullKeyboard();
|
||||
private static final KeyListener sKeyListener = QwertyKeyListener.getInstanceForFullKeyboard();
|
||||
|
||||
public ReactEditText(Context context) {
|
||||
super(context);
|
||||
|
|
|
@ -258,8 +258,8 @@ public class ReactTextInputManager extends
|
|||
list.add(currentFilters[i]);
|
||||
}
|
||||
}
|
||||
if (list.size() > 0) {
|
||||
newFilters = (InputFilter[])list.toArray();
|
||||
if (!list.isEmpty()) {
|
||||
newFilters = (InputFilter[]) list.toArray();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue