Fix lint for D2880851

Reviewed By: andreicoman11

Differential Revision: D2890474

fb-gh-sync-id: 2d6b2a9a5caa1964646706ba75a5fae8350d0ee5
This commit is contained in:
Dave Miller 2016-02-02 08:43:52 -08:00 committed by facebook-github-bot-3
parent 2633f10588
commit 804b23811b
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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 {