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
This commit is contained in:
parent
042557b45b
commit
7c5f2bbd2a
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class SuggestedWords {
|
||||||
}
|
}
|
||||||
|
|
||||||
public SuggestedWordInfo getInfo(int pos) {
|
public SuggestedWordInfo getInfo(int pos) {
|
||||||
return mSuggestedWordInfoList != null ? mSuggestedWordInfoList.get(pos) : null;
|
return mSuggestedWordInfoList.get(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasAutoCorrectionWord() {
|
public boolean hasAutoCorrectionWord() {
|
||||||
|
|
Loading…
Reference in a new issue