aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-09-03 22:28:50 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-03 22:28:50 -0700
commit4d839fd06c10fe392f211e331b0b414786601d7b (patch)
tree622095ad7f31220916d09deee472c1a6246a7970 /java/src
parentb3869516630a9c60c3aa6f99452dbfc461e02c16 (diff)
parentd34dd5bb6bb01666171a37e9cefe46bb20d04e93 (diff)
downloadlatinime-4d839fd06c10fe392f211e331b0b414786601d7b.tar.gz
latinime-4d839fd06c10fe392f211e331b0b414786601d7b.tar.xz
latinime-4d839fd06c10fe392f211e331b0b414786601d7b.zip
am d34dd5bb: Merge "Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness()." into jb-mr1-dev
* commit 'd34dd5bb6bb01666171a37e9cefe46bb20d04e93': Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness().
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/SuggestedWords.java2
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java4
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