Skip to content
Snippets Groups Projects
Commit 7c5f2bbd authored by Jean Chalard's avatar Jean Chalard
Browse files

Remove useless code

I tracked all the calls to the constructor, and the passed
list is never null. It's also final, so it's safe.

Change-Id: I320f907acee0b237bb286a9a183c18106809174a
parent 042557b4
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ public class SuggestedWords {
}
public SuggestedWordInfo getInfo(int pos) {
return mSuggestedWordInfoList != null ? mSuggestedWordInfoList.get(pos) : null;
return mSuggestedWordInfoList.get(pos);
}
public boolean hasAutoCorrectionWord() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment