aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-10-21 15:10:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-21 15:10:07 +0000
commitd94645097a8aab6c44c6a20553f81954009dbc5b (patch)
tree8743018b4a2fe61f16943783f5b2331592e3a69d /tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java
parent20ae86172e644b1aae97e0ea22c41433bd7ccc9e (diff)
parent46a007261fcbfbe887e22ecdf16307f95b1e4024 (diff)
downloadlatinime-d94645097a8aab6c44c6a20553f81954009dbc5b.tar.gz
latinime-d94645097a8aab6c44c6a20553f81954009dbc5b.tar.xz
latinime-d94645097a8aab6c44c6a20553f81954009dbc5b.zip
am 46a00726: Merge "Fix some compiler warnings"
* commit '46a007261fcbfbe887e22ecdf16307f95b1e4024': Fix some compiler warnings
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java b/tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java
index 988cd3748..7d858760e 100644
--- a/tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java
+++ b/tests/src/com/android/inputmethod/latin/makedict/Ver2DictEncoderTests.java
@@ -27,14 +27,12 @@ import com.android.inputmethod.latin.makedict.FusionDictionary.PtNodeArray;
import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.LargeTest;
-import android.util.Log;
/**
* Unit tests for Ver2DictEncoder
*/
@LargeTest
public class Ver2DictEncoderTests extends AndroidTestCase {
- private static final String TAG = Ver2DictEncoderTests.class.getSimpleName();
private static final int UNIGRAM_FREQ = 10;
public void testCodePointTable() {
@@ -75,7 +73,7 @@ public class Ver2DictEncoderTests extends AndroidTestCase {
/**
* Adds unigrams to the dictionary.
*/
- private void addUnigrams(final FusionDictionary dict, final List<String> words,
+ private static void addUnigrams(final FusionDictionary dict, final List<String> words,
final HashMap<String, List<String>> shortcutMap) {
for (final String word : words) {
final ArrayList<WeightedString> shortcuts = new ArrayList<>();