Merge "Remove unused import and method"
commit
e71c951c10
|
@ -40,7 +40,6 @@ import java.util.ArrayList;
|
|||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Random;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ import java.util.ArrayList;
|
|||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Random;
|
||||
|
||||
// TODO Use the seed passed as an argument for makedict test.
|
||||
|
|
|
@ -27,7 +27,6 @@ import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
|
|||
import com.android.inputmethod.latin.makedict.Ver2DictEncoder;
|
||||
import com.android.inputmethod.latin.makedict.Ver4DictEncoder;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.File;
|
||||
|
@ -253,14 +252,6 @@ public class DictionaryMaker {
|
|||
}
|
||||
}
|
||||
|
||||
private static BufferedInputStream getBufferedFileInputStream(final String filename)
|
||||
throws FileNotFoundException {
|
||||
if (filename == null) {
|
||||
return null;
|
||||
}
|
||||
return new BufferedInputStream(new FileInputStream(filename));
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke the right output method according to args.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue