aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-12-19 15:36:55 +0900
committerKen Wakasa <kwakasa@google.com>2012-12-19 15:36:55 +0900
commit45239029ceb876462e0d3f654c6b24ac9a9ed8af (patch)
treeebde4a64fca6513831e0dca32e81db09d8e81e96
parentee7f559e012980e7d3b7b4b765c94a1fc396138b (diff)
downloadlatinime-45239029ceb876462e0d3f654c6b24ac9a9ed8af.tar.gz
latinime-45239029ceb876462e0d3f654c6b24ac9a9ed8af.tar.xz
latinime-45239029ceb876462e0d3f654c6b24ac9a9ed8af.zip
Remove trailing spaces
Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44
-rw-r--r--java/src/com/android/inputmethod/latin/BackupAgent.java7
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java4
2 files changed, 5 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/BackupAgent.java b/java/src/com/android/inputmethod/latin/BackupAgent.java
index 0beb088ac..54f77ba6a 100644
--- a/java/src/com/android/inputmethod/latin/BackupAgent.java
+++ b/java/src/com/android/inputmethod/latin/BackupAgent.java
@@ -1,12 +1,12 @@
/*
* Copyright (C) 2008 The Android Open Source Project
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -23,7 +23,6 @@ import android.app.backup.SharedPreferencesBackupHelper;
* Backs up the Latin IME shared preferences.
*/
public final class BackupAgent extends BackupAgentHelper {
-
@Override
public void onCreate() {
addHelper("shared_pref", new SharedPreferencesBackupHelper(this,
diff --git a/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java b/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java
index ee647abed..f7cc69359 100644
--- a/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java
+++ b/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java
@@ -484,7 +484,7 @@ public final class FusionDictionary implements Iterable<Word> {
if (differentCharIndex == currentGroup.mChars.length) {
if (charIndex + differentCharIndex >= word.length) {
// The new word is a prefix of an existing word, but the node on which it
- // should end already exists as is. Since the old CharNode was not a terminal,
+ // should end already exists as is. Since the old CharNode was not a terminal,
// make it one by filling in its frequency and other attributes
currentGroup.update(frequency, shortcutTargets, null, isNotAWord,
isBlacklistEntry);
@@ -526,7 +526,7 @@ public final class FusionDictionary implements Iterable<Word> {
} else {
newParent = new CharGroup(
Arrays.copyOfRange(currentGroup.mChars, 0, differentCharIndex),
- null /* shortcutTargets */, null /* bigrams */, -1,
+ null /* shortcutTargets */, null /* bigrams */, -1,
false /* isNotAWord */, false /* isBlacklistEntry */, newChildren);
final CharGroup newWord = new CharGroup(Arrays.copyOfRange(word,
charIndex + differentCharIndex, word.length),