aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-13 08:34:07 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-13 08:34:07 -0800
commita8b3fa937fba02c1e98fd545a632c68fe29374f1 (patch)
treeefc179e70f136eebf43a1fa1bff0237c037f96c2 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java
parentd0a8f204ad98ef8354b2592e87c6a49483f1ee8b (diff)
parentf08b1ea41a0404c978349a8e405fc68b02a5a7fc (diff)
downloadlatinime-a8b3fa937fba02c1e98fd545a632c68fe29374f1.tar.gz
latinime-a8b3fa937fba02c1e98fd545a632c68fe29374f1.tar.xz
latinime-a8b3fa937fba02c1e98fd545a632c68fe29374f1.zip
am f08b1ea4: Merge "Remove references to the v3 dictionary."
* commit 'f08b1ea41a0404c978349a8e405fc68b02a5a7fc': Remove references to the v3 dictionary.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java
index 208cb99b5..a568704b4 100644
--- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java
+++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictUtils.java
@@ -76,8 +76,6 @@ public class BinaryDictUtils {
throws UnsupportedFormatException {
if (formatOptions.mVersion == FormatSpec.VERSION4) {
return new Ver4DictUpdater(file, DictDecoder.USE_WRITABLE_BYTEBUFFER);
- } else if (formatOptions.mVersion == FormatSpec.VERSION3) {
- return new Ver2DictUpdater(file, DictDecoder.USE_WRITABLE_BYTEBUFFER);
} else {
throw new UnsupportedFormatException("The format option has a wrong version : "
+ formatOptions.mVersion);