Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5f1d998 authored by Jean Chalard's avatar Jean Chalard
Browse files

Cleanup, part 6 (C6)

Change-Id: I184f3a336278559df255c5d600a98fbba468a243
parent 9b233ece
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -245,14 +245,6 @@ public class Suggest implements Dictionary.WordCallback {
                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
    public SuggestedWords getSuggestedWords(
            final WordComposer wordComposer, CharSequence prevWordForBigram,