summaryrefslogtreecommitdiffstats
path: root/tools/dicttool
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-16 14:17:33 +0900
committerJean Chalard <jchalard@google.com>2013-12-16 14:32:19 +0900
commitb868375763de60d1a1ff6fa21b121cc1b61df842 (patch)
treee909b246d797e1e61bc64770ffba2cfa1bbdd537 /tools/dicttool
parent2c25c7c9e1c98feaa3fc739244badacfa0719576 (diff)
downloadandroid_packages_inputmethods_LatinIME-b868375763de60d1a1ff6fa21b121cc1b61df842.tar.gz
android_packages_inputmethods_LatinIME-b868375763de60d1a1ff6fa21b121cc1b61df842.tar.bz2
android_packages_inputmethods_LatinIME-b868375763de60d1a1ff6fa21b121cc1b61df842.zip
Fix failing tests
- Version 3 is not supported - Now passing the right string to open v4 dicts. Fix the tests for this. Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab
Diffstat (limited to 'tools/dicttool')
-rw-r--r--tools/dicttool/src/com/android/inputmethod/latin/dicttool/DictionaryMaker.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/DictionaryMaker.java b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/DictionaryMaker.java
index eb419fc28..143bce5ac 100644
--- a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/DictionaryMaker.java
+++ b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/DictionaryMaker.java
@@ -46,7 +46,6 @@ public class DictionaryMaker {
static class Arguments {
private static final String OPTION_VERSION_2 = "-2";
- private static final String OPTION_VERSION_3 = "-3";
private static final String OPTION_VERSION_4 = "-4";
private static final String OPTION_INPUT_SOURCE = "-s";
private static final String OPTION_INPUT_BIGRAM_XML = "-b";
@@ -158,8 +157,6 @@ public class DictionaryMaker {
if (arg.charAt(0) == '-') {
if (OPTION_VERSION_2.equals(arg)) {
// Do nothing, this is the default
- } else if (OPTION_VERSION_3.equals(arg)) {
- outputBinaryFormatVersion = FormatSpec.VERSION3;
} else if (OPTION_VERSION_4.equals(arg)) {
outputBinaryFormatVersion = FormatSpec.VERSION4;
} else if (OPTION_HELP.equals(arg)) {