diff options
author | 2011-12-15 18:02:38 -0800 | |
---|---|---|
committer | 2011-12-15 18:02:38 -0800 | |
commit | e9a0efc242f3bca80e8f64523a7bade659c28069 (patch) | |
tree | 7a315891bde0e564b00f2c3ede3876089e54195d /java/src/com/android/inputmethod/latin/UserUnigramDictionary.java | |
parent | 05f654d498d4f7a0821c9ddd509951af981cb8d2 (diff) | |
parent | 2ac5988f84b5c38d313951a3d7faddebf5f25e04 (diff) | |
download | latinime-e9a0efc242f3bca80e8f64523a7bade659c28069.tar.gz latinime-e9a0efc242f3bca80e8f64523a7bade659c28069.tar.xz latinime-e9a0efc242f3bca80e8f64523a7bade659c28069.zip |
Merge "Cleanup unused variables and parameters"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/UserUnigramDictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/UserUnigramDictionary.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/UserUnigramDictionary.java b/java/src/com/android/inputmethod/latin/UserUnigramDictionary.java index 6af20c754..a7f57ae46 100644 --- a/java/src/com/android/inputmethod/latin/UserUnigramDictionary.java +++ b/java/src/com/android/inputmethod/latin/UserUnigramDictionary.java @@ -172,7 +172,7 @@ public class UserUnigramDictionary extends ExpandableDictionary { // Nothing pending? Return if (mPendingWrites.isEmpty()) return; // Create a background thread to write the pending entries - new UpdateDbTask(getContext(), sOpenHelper, mPendingWrites, mLocale).execute(); + new UpdateDbTask(sOpenHelper, mPendingWrites, mLocale).execute(); // Create a new map for writing new entries into while the old one is written to db mPendingWrites = new HashMap<String, Integer>(); } @@ -227,8 +227,8 @@ public class UserUnigramDictionary extends ExpandableDictionary { private final DatabaseHelper mDbHelper; private final String mLocale; - public UpdateDbTask(@SuppressWarnings("unused") Context context, DatabaseHelper openHelper, - HashMap<String, Integer> pendingWrites, String locale) { + public UpdateDbTask(DatabaseHelper openHelper, HashMap<String, Integer> pendingWrites, + String locale) { mMap = pendingWrites; mLocale = locale; mDbHelper = openHelper; |