From 2da886651874b2588f18f800417ba858ac93d88b Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Thu, 6 Dec 2012 20:47:19 +0900 Subject: Remove a couple Eclipse and Android Lint warnings Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3 --- .../com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java') 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) { -- cgit v1.2.3-83-g751a