mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove trailing spaces
Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44
This commit is contained in:
parent
ee7f559e01
commit
45239029ce
@ -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
Block a user