aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-01-25 21:15:19 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-25 21:15:19 -0800
commite8ff9e107b4f57da7c7b3d3d6849bf538a5c6e89 (patch)
tree455275048d69001c4337cfcabaa73c645629186d /java/src/com/android/inputmethod/latin/ExpandableDictionary.java
parent159789c9625d58770221cd73094e6832f62650e9 (diff)
parent5a38ff305f6ee95cecf2d337b7efda1eacff8140 (diff)
downloadlatinime-e8ff9e107b4f57da7c7b3d3d6849bf538a5c6e89.tar.gz
latinime-e8ff9e107b4f57da7c7b3d3d6849bf538a5c6e89.tar.xz
latinime-e8ff9e107b4f57da7c7b3d3d6849bf538a5c6e89.zip
am 5a38ff30: Merge "Convert an internal enum into an int of same underlying value."
* commit '5a38ff305f6ee95cecf2d337b7efda1eacff8140': Convert an internal enum into an int of same underlying value.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ExpandableDictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/ExpandableDictionary.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/ExpandableDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
index 7eec8e2ca..8e8adc1c2 100644
--- a/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
+++ b/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
@@ -301,7 +301,7 @@ public class ExpandableDictionary extends Dictionary {
finalFreq = computeSkippedWordFinalFreq(freq, snr, mInputLength);
}
if (!callback.addWord(word, 0, depth + 1, finalFreq, mDicTypeId,
- DataType.UNIGRAM)) {
+ Dictionary.UNIGRAM)) {
return;
}
}
@@ -342,7 +342,7 @@ public class ExpandableDictionary extends Dictionary {
snr * addedAttenuation, mInputLength);
}
callback.addWord(word, 0, depth + 1, finalFreq, mDicTypeId,
- DataType.UNIGRAM);
+ Dictionary.UNIGRAM);
}
}
if (children != null) {
@@ -506,7 +506,7 @@ public class ExpandableDictionary extends Dictionary {
} while (node != null);
callback.addWord(mLookedUpString, index, MAX_WORD_LENGTH - index, freq, mDicTypeId,
- DataType.BIGRAM);
+ Dictionary.BIGRAM);
}
}