Cleanup (A7)

Change-Id: Iba97e0062b702c005ab3ff9ce59f181d19ab7c98
This commit is contained in:
Jean Chalard 2012-06-28 13:53:36 +09:00
parent ed83d4b143
commit 4847a27f74

View file

@ -238,11 +238,9 @@ public class Suggest {
}
if (whitelistedWord != null) {
final SuggestedWordInfo whitelistSuggestion;
whitelistSuggestion = new SuggestedWordInfo(whitelistedWord,
suggestionsSet.add(new SuggestedWordInfo(whitelistedWord,
SuggestedWordInfo.MAX_SCORE, SuggestedWordInfo.KIND_WHITELIST,
Dictionary.TYPE_WHITELIST);
suggestionsSet.add(whitelistSuggestion);
Dictionary.TYPE_WHITELIST));
}
final ArrayList<SuggestedWordInfo> suggestionsContainer =