From 45239029ceb876462e0d3f654c6b24ac9a9ed8af Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Wed, 19 Dec 2012 15:36:55 +0900 Subject: [PATCH] Remove trailing spaces Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44 --- java/src/com/android/inputmethod/latin/BackupAgent.java | 7 +++---- .../inputmethod/latin/makedict/FusionDictionary.java | 4 ++-- 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 { 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 { } 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),