aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-06-10 19:22:40 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-06-10 19:22:40 +0900
commit07e14126318f7661f76fdce421d723d64e7ea8de (patch)
tree5f7c2d952b9b7c12e9f6af38a260b6fdfc3852a3 /native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
parent2385314be081d4955e892b9c37e5aa7c0ed6e660 (diff)
downloadlatinime-07e14126318f7661f76fdce421d723d64e7ea8de.tar.gz
latinime-07e14126318f7661f76fdce421d723d64e7ea8de.tar.xz
latinime-07e14126318f7661f76fdce421d723d64e7ea8de.zip
Purge dict reading code for 401 and create for 402.
Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb
Diffstat (limited to 'native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h')
-rw-r--r--native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
index 75f4fef90..87cf0cd3b 100644
--- a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
+++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
@@ -139,8 +139,6 @@ class HeaderPolicy : public DictionaryHeaderStructurePolicy {
switch (mDictFormatVersion) {
case FormatUtils::VERSION_2:
return FormatUtils::VERSION_2;
- case FormatUtils::VERSION_401:
- return FormatUtils::VERSION_401;
case FormatUtils::VERSION_4_ONLY_FOR_TESTING:
return FormatUtils::VERSION_4_ONLY_FOR_TESTING;
case FormatUtils::VERSION_4:
@@ -249,7 +247,7 @@ class HeaderPolicy : public DictionaryHeaderStructurePolicy {
}
bool supportsBeginningOfSentence() const {
- return mDictFormatVersion > FormatUtils::VERSION_401;
+ return mDictFormatVersion >= FormatUtils::VERSION_4;
}
private: