aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/JsonUtils.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2013-01-17 07:50:15 -0800
committerKurt Partridge <kep@google.com>2013-01-17 07:50:15 -0800
commitb5ac8ef5864ab198c26da55f4134f6e550d37015 (patch)
tree7e910d05711b29a2c1acf45fe83bbd4c3a1022e6 /java/src/com/android/inputmethod/research/JsonUtils.java
parent34b8856077220cfaa475a13d383bcc69ef470af4 (diff)
downloadlatinime-b5ac8ef5864ab198c26da55f4134f6e550d37015.tar.gz
latinime-b5ac8ef5864ab198c26da55f4134f6e550d37015.tar.xz
latinime-b5ac8ef5864ab198c26da55f4134f6e550d37015.zip
Consolidate SuggestedWords.getWordInfo and .getInfo
Change-Id: I959cf049f550b7be3ec002281ca7457e566b0214
Diffstat (limited to 'java/src/com/android/inputmethod/research/JsonUtils.java')
-rw-r--r--java/src/com/android/inputmethod/research/JsonUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/research/JsonUtils.java b/java/src/com/android/inputmethod/research/JsonUtils.java
index 1dfd01c69..ceba08d47 100644
--- a/java/src/com/android/inputmethod/research/JsonUtils.java
+++ b/java/src/com/android/inputmethod/research/JsonUtils.java
@@ -98,7 +98,7 @@ import java.util.Map;
jsonWriter.beginArray();
final int size = words.size();
for (int j = 0; j < size; j++) {
- final SuggestedWordInfo wordInfo = words.getWordInfo(j);
+ final SuggestedWordInfo wordInfo = words.getInfo(j);
jsonWriter.value(wordInfo.toString());
}
jsonWriter.endArray();