Merge "Cleanup, part 6 (C6)"

This commit is contained in:
Jean Chalard 2012-06-19 09:25:33 -07:00 committed by Android (Google) Code Review
commit 0e8b1db948

View file

@ -249,14 +249,6 @@ public class Suggest implements Dictionary.WordCallback {
true /* isPrediction */); true /* isPrediction */);
} }
// Wrapper for test compatibility. TODO: remove this method
public SuggestedWords getSuggestedWords(
final WordComposer wordComposer, CharSequence prevWordForBigram,
final ProximityInfo proximityInfo, final int correctionMode) {
return getSuggestedWords(wordComposer, prevWordForBigram, proximityInfo,
Suggest.CORRECTION_FULL == correctionMode);
}
// TODO: cleanup dictionaries looking up and suggestions building with SuggestedWords.Builder // TODO: cleanup dictionaries looking up and suggestions building with SuggestedWords.Builder
public SuggestedWords getSuggestedWords( public SuggestedWords getSuggestedWords(
final WordComposer wordComposer, CharSequence prevWordForBigram, final WordComposer wordComposer, CharSequence prevWordForBigram,