diff options
author | 2014-05-23 16:44:51 +0000 | |
---|---|---|
committer | 2014-05-23 16:44:51 +0000 | |
commit | 3b500f7bd1bbe4cf2836ea4cc5e676bb2da7345c (patch) | |
tree | 0ceda5aefb24fa3ffa8e52e3d1f8a8757f27296e /java/src/com/android/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java | |
parent | cf4884c5a79e9260a82e7d4ed0eac264f987c230 (diff) | |
parent | 6726bc90014c8d9c1710e4b52aa019d3e945f407 (diff) | |
download | latinime-3b500f7bd1bbe4cf2836ea4cc5e676bb2da7345c.tar.gz latinime-3b500f7bd1bbe4cf2836ea4cc5e676bb2da7345c.tar.xz latinime-3b500f7bd1bbe4cf2836ea4cc5e676bb2da7345c.zip |
am 6726bc90: Merge "Use Java 7 diamond operator"
* commit '6726bc90014c8d9c1710e4b52aa019d3e945f407':
Use Java 7 diamond operator
Diffstat (limited to 'java/src/com/android/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java b/java/src/com/android/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java index 21426d1eb..80d4cc44f 100644 --- a/java/src/com/android/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java +++ b/java/src/com/android/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java @@ -256,7 +256,7 @@ public class UserDictionaryAddWordContents { // The system locale should be inside. We want it at the 2nd spot. locales.remove(systemLocale); // system locale may not be null locales.remove(""); // Remove the empty string if it's there - final ArrayList<LocaleRenderer> localesList = new ArrayList<LocaleRenderer>(); + final ArrayList<LocaleRenderer> localesList = new ArrayList<>(); // Add the passed locale, then the system locale at the top of the list. Add an // "all languages" entry at the bottom of the list. addLocaleDisplayNameToList(activity, localesList, mLocale); |