Skip to content
Snippets Groups Projects
Commit 30936116 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Make a method accessible for tests"

parents 1dfef033 9dedec7c
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,8 @@ public class SuggestedWords {
return addWord(word, info);
}
private Builder addWord(CharSequence word, SuggestedWordInfo suggestedWordInfo) {
/* package for tests */
Builder addWord(CharSequence word, SuggestedWordInfo suggestedWordInfo) {
if (!TextUtils.isEmpty(word)) {
mWords.add(word);
// It's okay if suggestedWordInfo is null since it's checked where it's used.
......
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