aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/UserUnigramDictionary.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-12-15 18:04:16 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-15 18:04:16 -0800
commitdaaf590a1b157d076429d99dd4025b65e3e4d251 (patch)
tree7a315891bde0e564b00f2c3ede3876089e54195d /java/src/com/android/inputmethod/latin/UserUnigramDictionary.java
parent8c180bbc60f5378cfcc1af3a0283820b50587551 (diff)
parente9a0efc242f3bca80e8f64523a7bade659c28069 (diff)
downloadlatinime-daaf590a1b157d076429d99dd4025b65e3e4d251.tar.gz
latinime-daaf590a1b157d076429d99dd4025b65e3e4d251.tar.xz
latinime-daaf590a1b157d076429d99dd4025b65e3e4d251.zip
am e9a0efc2: Merge "Cleanup unused variables and parameters"
* commit 'e9a0efc242f3bca80e8f64523a7bade659c28069': 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.java6
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;