From c24f66e18007b5aba32bfab8f86eb7f03fa6c1b7 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Thu, 15 Mar 2012 19:12:52 +0900 Subject: Streamline some user history dictionary code A lot of things don't really make sense in the old code. Let's streamline it for now so that we have a cleaner interface to work with. This is preliminary work for bug 4192129. Change-Id: If01a5974cfadc43afced610c57fcf7fde67c1346 --- java/src/com/android/inputmethod/latin/UserBigramDictionary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/src/com/android/inputmethod/latin/UserBigramDictionary.java') diff --git a/java/src/com/android/inputmethod/latin/UserBigramDictionary.java b/java/src/com/android/inputmethod/latin/UserBigramDictionary.java index e6a59d0ab..52a31f2e6 100644 --- a/java/src/com/android/inputmethod/latin/UserBigramDictionary.java +++ b/java/src/com/android/inputmethod/latin/UserBigramDictionary.java @@ -157,7 +157,7 @@ public class UserBigramDictionary extends ExpandableDictionary { /** * Pair will be added to the userbigram database. */ - public int addBigrams(String word1, String word2) { + public int addBigramPair(String word1, String word2) { // remove caps if second word is autocapitalized if (mIme != null && mIme.isAutoCapitalized()) { word2 = Character.toLowerCase(word2.charAt(0)) + word2.substring(1); -- cgit v1.2.3-83-g751a