aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-12-06 04:34:38 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-06 04:34:39 -0800
commitd582c38ba8573bb4eefdfa46450ad64a6b52de46 (patch)
tree8db27b90203568aa0d37da4e0836dc887277c54b /java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
parenta21187188fd17c2ce133fca8512106327212da5f (diff)
parent2da886651874b2588f18f800417ba858ac93d88b (diff)
downloadlatinime-d582c38ba8573bb4eefdfa46450ad64a6b52de46.tar.gz
latinime-d582c38ba8573bb4eefdfa46450ad64a6b52de46.tar.xz
latinime-d582c38ba8573bb4eefdfa46450ad64a6b52de46.zip
Merge "Remove a couple Eclipse and Android Lint warnings"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java b/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
index d1a3c7b0a..fb1eb2701 100644
--- a/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
+++ b/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java
@@ -921,6 +921,7 @@ public final class BinaryDictInputOutput {
* @param formatOptions file format options.
* @return the address of the END of the node.
*/
+ @SuppressWarnings("unused")
private static int writePlacedNode(final FusionDictionary dict, byte[] buffer,
final Node node, final FormatOptions formatOptions) {
// TODO: Make the code in common with BinaryDictIOUtils#writeCharGroup
@@ -1407,6 +1408,7 @@ public final class BinaryDictInputOutput {
// TODO: static!? This will behave erratically when used in multi-threaded code.
// We need to fix this
private static int[] sGetWordBuffer = new int[FormatSpec.MAX_WORD_LENGTH];
+ @SuppressWarnings("unused")
private static WeightedString getWordAtAddressWithParentAddress(
final FusionDictionaryBufferInterface buffer, final int headerSize, final int address,
final FormatOptions options) {