diff options
author | 2012-09-03 22:31:02 -0700 | |
---|---|---|
committer | 2012-09-03 22:31:02 -0700 | |
commit | 8b6c25b3c83daa5226caf425eb8276d089b19aeb (patch) | |
tree | 622095ad7f31220916d09deee472c1a6246a7970 /java/src | |
parent | a289380b67ccca04b528a3e85067de68e107d43e (diff) | |
parent | 4d839fd06c10fe392f211e331b0b414786601d7b (diff) | |
download | latinime-8b6c25b3c83daa5226caf425eb8276d089b19aeb.tar.gz latinime-8b6c25b3c83daa5226caf425eb8276d089b19aeb.tar.xz latinime-8b6c25b3c83daa5226caf425eb8276d089b19aeb.zip |
am 4d839fd0: am d34dd5bb: Merge "Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness()." into jb-mr1-dev
* commit '4d839fd06c10fe392f211e331b0b414786601d7b':
Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness().
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 2 | ||||
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java | 4 |
2 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 68ecfa0d7..d9f48c4a4 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -177,7 +177,7 @@ public class SuggestedWords { return; } int i = 1; - while(i < candidates.size()) { + while (i < candidates.size()) { final SuggestedWordInfo cur = candidates.get(i); for (int j = 0; j < i; ++j) { final SuggestedWordInfo previous = candidates.get(j); diff --git a/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java b/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java index f1abea9ec..61f7371b8 100644 --- a/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java +++ b/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java @@ -728,7 +728,7 @@ public class FusionDictionary implements Iterable<Word> { // StringBuilder s = new StringBuilder(); // for (CharGroup g : node.data) { // s.append(g.frequency); -// for (int ch : g.chars){ +// for (int ch : g.chars) { // s.append(Character.toChars(ch)); // } // } @@ -794,7 +794,7 @@ public class FusionDictionary implements Iterable<Word> { currentPos = mPositions.getLast(); mCurrentString.setLength(mCurrentString.length() - mPositions.getLast().length); } - } while(true); + } while (true); } @Override |