am b0a0ce0b: Remove unused import and local variable

* commit 'b0a0ce0b31c552270a21f2952b2d804b119e22e9':
  Remove unused import and local variable
main
Tadashi G. Takaoka 2014-11-28 02:57:15 +00:00 committed by Android Git Automerger
commit d39011e2d7
4 changed files with 0 additions and 6 deletions

View File

@ -27,7 +27,6 @@ import com.android.inputmethod.latin.define.DebugFlags;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashSet; import java.util.HashSet;
import java.util.Locale;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import javax.annotation.Nullable; import javax.annotation.Nullable;

View File

@ -37,8 +37,6 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.io.OutputStream; import java.io.OutputStream;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;

View File

@ -16,14 +16,12 @@
package com.android.inputmethod.latin.dicttool; package com.android.inputmethod.latin.dicttool;
import com.android.inputmethod.latin.BinaryDictionary;
import com.android.inputmethod.latin.dicttool.BinaryDictOffdeviceUtils.DecoderChainSpec; import com.android.inputmethod.latin.dicttool.BinaryDictOffdeviceUtils.DecoderChainSpec;
import com.android.inputmethod.latin.makedict.DictionaryHeader; import com.android.inputmethod.latin.makedict.DictionaryHeader;
import com.android.inputmethod.latin.makedict.UnsupportedFormatException; import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
import java.io.File; import java.io.File;
import java.util.Arrays; import java.util.Arrays;
import java.util.Locale;
public class Header extends Dicttool.Command { public class Header extends Dicttool.Command {
public static final String COMMAND = "header"; public static final String COMMAND = "header";

View File

@ -154,7 +154,6 @@ public class BinaryDictOffdeviceUtilsTests extends TestCase {
public void runTestHeaderReaderProcessorWithOneSpec(final boolean compress, final boolean crypt) public void runTestHeaderReaderProcessorWithOneSpec(final boolean compress, final boolean crypt)
throws IOException, UnsupportedFormatException { throws IOException, UnsupportedFormatException {
final String dictName = "testHeaderReaderProcessor"; final String dictName = "testHeaderReaderProcessor";
final String dictVersion = Long.toString(System.currentTimeMillis());
final FormatOptions formatOptions = BinaryDictUtils.STATIC_OPTIONS; final FormatOptions formatOptions = BinaryDictUtils.STATIC_OPTIONS;
final int MAX_NUMBER_OF_OPTIONS_TO_ADD = 5; final int MAX_NUMBER_OF_OPTIONS_TO_ADD = 5;
final HashMap<String, String> options = new HashMap<>(); final HashMap<String, String> options = new HashMap<>();