diff options
author | 2014-05-23 20:18:17 +0900 | |
---|---|---|
committer | 2014-05-24 01:05:42 +0900 | |
commit | a91561aa58db1c43092c1caecc051a11fa5391c7 (patch) | |
tree | 20864cd0644414688af87d59638b7a8ac59c2895 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | e782f1f4154690da356fac6939ded66b5f66864d (diff) | |
download | latinime-a91561aa58db1c43092c1caecc051a11fa5391c7.tar.gz latinime-a91561aa58db1c43092c1caecc051a11fa5391c7.tar.xz latinime-a91561aa58db1c43092c1caecc051a11fa5391c7.zip |
Use Java 7 diamond operator
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 34d5f714c..1e1d10931 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -81,7 +81,6 @@ import com.android.inputmethod.latin.suggestions.SuggestionStripView; import com.android.inputmethod.latin.suggestions.SuggestionStripViewAccessor; import com.android.inputmethod.latin.utils.ApplicationUtils; import com.android.inputmethod.latin.utils.CapsModeUtils; -import com.android.inputmethod.latin.utils.CollectionUtils; import com.android.inputmethod.latin.utils.CoordinateUtils; import com.android.inputmethod.latin.utils.DialogUtils; import com.android.inputmethod.latin.utils.DistracterFilterUsingSuggestion; @@ -130,8 +129,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen this /* SuggestionStripViewAccessor */, mDictionaryFacilitator); // We expect to have only one decoder in almost all cases, hence the default capacity of 1. // If it turns out we need several, it will get grown seamlessly. - final SparseArray<HardwareEventDecoder> mHardwareEventDecoders - = new SparseArray<HardwareEventDecoder>(1); + final SparseArray<HardwareEventDecoder> mHardwareEventDecoders = new SparseArray<>(1); private View mExtractArea; private View mKeyPreviewBackingView; |