aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionary.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-04-06 19:47:16 +0900
committerJean Chalard <jchalard@google.com>2012-04-06 19:47:16 +0900
commitb5e1f48987fc90b443653fdd3f6e5423546e6451 (patch)
tree39691c47e78b50edffde43ad1de4283dc868e688 /java/src/com/android/inputmethod/latin/BinaryDictionary.java
parent338d3ec725a952cbe603ac8b2d49c337463f4093 (diff)
downloadlatinime-b5e1f48987fc90b443653fdd3f6e5423546e6451.tar.gz
latinime-b5e1f48987fc90b443653fdd3f6e5423546e6451.tar.xz
latinime-b5e1f48987fc90b443653fdd3f6e5423546e6451.zip
Remove the now useless Flag class.
Change-Id: Ibe45189b73e2606cf77e30da166dd0d45ae47c5c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/BinaryDictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/BinaryDictionary.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionary.java b/java/src/com/android/inputmethod/latin/BinaryDictionary.java
index deb94a450..cc7540e4e 100644
--- a/java/src/com/android/inputmethod/latin/BinaryDictionary.java
+++ b/java/src/com/android/inputmethod/latin/BinaryDictionary.java
@@ -56,30 +56,6 @@ public class BinaryDictionary extends Dictionary {
private final int[] mScores = new int[MAX_WORDS];
private final int[] mBigramScores = new int[MAX_BIGRAMS];
- public static final Flag FLAG_REQUIRES_GERMAN_UMLAUT_PROCESSING =
- new Flag(R.bool.config_require_umlaut_processing, 0x1);
- public static final Flag FLAG_REQUIRES_FRENCH_LIGATURES_PROCESSING =
- new Flag(R.bool.config_require_ligatures_processing, 0x4);
-
- // Can create a new flag from extravalue :
- // public static final Flag FLAG_MYFLAG =
- // new Flag("my_flag", 0x02);
-
- // ALL_CONFIG_FLAGS is a collection of flags that enable reading all flags from configuration.
- // This is but a mask - it does not mean the flags will be on, only that the configuration
- // will be read for this particular flag.
- public static final Flag[] ALL_CONFIG_FLAGS = {
- // Here should reside all flags that trigger some special processing
- // These *must* match the definition in UnigramDictionary enum in
- // unigram_dictionary.h so please update both at the same time.
- // Please note that flags created with a resource are of type CONFIG while flags
- // created with a string are of type EXTRAVALUE. These behave like masks, and the
- // actual value will be read from the configuration/extra value at run time for
- // the configuration at dictionary creation time.
- FLAG_REQUIRES_GERMAN_UMLAUT_PROCESSING,
- FLAG_REQUIRES_FRENCH_LIGATURES_PROCESSING,
- };
-
private final boolean mUseFullEditDistance;
/**