am 45239029: Remove trailing spaces
* commit '45239029ceb876462e0d3f654c6b24ac9a9ed8af': Remove trailing spacesmain
commit
cc17479453
|
@ -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,
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue