Remove a useless member

Change-Id: Id13e0aeec6ec3655d6bb0edc7f8f7821e7dc5a36
main
Jean Chalard 2012-12-11 19:10:05 +09:00
parent 082507e1da
commit f1b464da31
2 changed files with 2 additions and 2 deletions

View File

@ -1412,8 +1412,6 @@ public final class BinaryDictInputOutput {
private static WeightedString getWordAtAddressWithParentAddress(
final FusionDictionaryBufferInterface buffer, final int headerSize, final int address,
final FormatOptions options) {
final StringBuilder builder = new StringBuilder();
int currentAddress = address;
int index = FormatSpec.MAX_WORD_LENGTH - 1;
int frequency = Integer.MIN_VALUE;

View File

@ -294,6 +294,8 @@ public final class AndroidSpellCheckerService extends SpellCheckerService
final String[] gatheredSuggestions;
final boolean hasRecommendedSuggestions;
if (0 == mLength) {
// TODO: the comment below describes what is intended, but in the practice
// mBestSuggestion is only ever set to null so it doesn't work. Fix this.
// Either we found no suggestions, or we found some BUT the max length was 0.
// If we found some mBestSuggestion will not be null. If it is null, then
// we found none, regardless of the max length.