aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
diff options
context:
space:
mode:
authorYuichiro Hanada <yhanada@google.com>2013-10-03 22:21:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-03 22:21:44 -0700
commit10100b2c52fd6073b37eb3d8558439e62c6c9412 (patch)
tree696a319b955cc13f5aaf767a5bd31d83af01c9b8 /java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
parent73ddd4041967babdcb201da33042e15460031faf (diff)
parent14d31d464037c31e7f7d382a8a86f6acf4694b06 (diff)
downloadlatinime-10100b2c52fd6073b37eb3d8558439e62c6c9412.tar.gz
latinime-10100b2c52fd6073b37eb3d8558439e62c6c9412.tar.xz
latinime-10100b2c52fd6073b37eb3d8558439e62c6c9412.zip
am 14d31d46: Add AbstractDictDecoder.
* commit '14d31d464037c31e7f7d382a8a86f6acf4694b06': Add AbstractDictDecoder.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
index 2d2da5fe0..bab24e301 100644
--- a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
+++ b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
@@ -37,7 +37,7 @@ import java.util.Arrays;
* An implementation of binary dictionary decoder for version 4 binary dictionary.
*/
@UsedForTesting
-public class Ver4DictDecoder extends DictDecoder {
+public class Ver4DictDecoder extends AbstractDictDecoder {
private static final String TAG = Ver4DictDecoder.class.getSimpleName();
private static final int FILETYPE_TRIE = 1;
@@ -157,8 +157,7 @@ public class Ver4DictDecoder extends DictDecoder {
new File[] { contentFile }, FormatSpec.SHORTCUT_ADDRESS_TABLE_BLOCK_SIZE);
}
-
- protected static class PtNodeReader extends DictDecoder.PtNodeReader {
+ protected static class PtNodeReader extends AbstractDictDecoder.PtNodeReader {
protected static int readFrequency(final DictBuffer frequencyBuffer, final int terminalId) {
frequencyBuffer.position(terminalId * FormatSpec.FREQUENCY_AND_FLAGS_SIZE + 1);
return frequencyBuffer.readUnsignedByte();