aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SuggestedWords.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r--java/src/com/android/inputmethod/latin/SuggestedWords.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java
index 82cfbbf17..09eac4910 100644
--- a/java/src/com/android/inputmethod/latin/SuggestedWords.java
+++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java
@@ -121,21 +121,21 @@ public class SuggestedWords {
public static class SuggestedWordInfo {
public final CharSequence mWord;
- private final CharSequence mDebugString;
+ private final String mDebugString;
public SuggestedWordInfo(final CharSequence word) {
mWord = word;
mDebugString = "";
}
- public SuggestedWordInfo(final CharSequence word, final CharSequence debugString) {
+ public SuggestedWordInfo(final CharSequence word, final String debugString) {
mWord = word;
if (null == debugString) throw new NullPointerException("");
mDebugString = debugString;
}
public String getDebugString() {
- return mDebugString.toString();
+ return mDebugString;
}
@Override