aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-10-22 14:27:34 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-22 14:27:35 -0700
commit7f77aed5070981ffa5ccb88b233664962c712f40 (patch)
tree7837ee66f2b3a7ef71b1a725849350a1c19479bf /java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
parent15f6d4ae34664ea3d92827a2c3003198c0bac70b (diff)
parentbc464e2952e102219f0b977fc1e9140ad5bd03e4 (diff)
downloadlatinime-7f77aed5070981ffa5ccb88b233664962c712f40.tar.gz
latinime-7f77aed5070981ffa5ccb88b233664962c712f40.tar.xz
latinime-7f77aed5070981ffa5ccb88b233664962c712f40.zip
Merge "Replace useless CharSequence to String"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
index 42626951d..35d5a0067 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
@@ -65,7 +65,7 @@ public final class MoreSuggestions extends Keyboard {
int pos = fromPos, rowStartPos = fromPos;
final int size = Math.min(suggestions.size(), SuggestionStripView.MAX_SUGGESTIONS);
while (pos < size) {
- final String word = suggestions.getWord(pos).toString();
+ final String word = suggestions.getWord(pos);
// TODO: Should take care of text x-scaling.
mWidths[pos] = (int)view.getLabelWidth(word, paint) + padding;
final int numColumn = pos - rowStartPos + 1;