Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
1aae3487
Commit
1aae3487
authored
11 years ago
by
Satoshi Kataoka
Browse files
Options
Downloads
Patches
Plain Diff
tiny refactor
Change-Id: I776432b6c41cf8dee71fbd1565a6f3da9d762f9e
parent
be4d38e6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/com/android/inputmethod/latin/personalization/UserHistoryDictionaryBigramList.java
+2
-2
2 additions, 2 deletions
...atin/personalization/UserHistoryDictionaryBigramList.java
with
2 additions
and
2 deletions
java/src/com/android/inputmethod/latin/personalization/UserHistoryDictionaryBigramList.java
+
2
−
2
View file @
1aae3487
...
...
@@ -53,7 +53,7 @@ public final class UserHistoryDictionaryBigramList {
* Called when loaded from the SQL DB.
*/
public
void
addBigram
(
String
word1
,
String
word2
,
byte
fcValue
)
{
if
(
UserHistory
PredictionDictionary
.
DBG_SAVE_RESTORE
)
{
if
(
Dynamic
PredictionDictionary
Base
.
DBG_SAVE_RESTORE
)
{
Log
.
d
(
TAG
,
"--- add bigram: "
+
word1
+
", "
+
word2
+
", "
+
fcValue
);
}
final
HashMap
<
String
,
Byte
>
map
;
...
...
@@ -73,7 +73,7 @@ public final class UserHistoryDictionaryBigramList {
* Called when inserted to the SQL DB.
*/
public
void
updateBigram
(
String
word1
,
String
word2
,
byte
fcValue
)
{
if
(
UserHistory
PredictionDictionary
.
DBG_SAVE_RESTORE
)
{
if
(
Dynamic
PredictionDictionary
Base
.
DBG_SAVE_RESTORE
)
{
Log
.
d
(
TAG
,
"--- update bigram: "
+
word1
+
", "
+
word2
+
", "
+
fcValue
);
}
final
HashMap
<
String
,
Byte
>
map
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment