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
73665510
Commit
73665510
authored
11 years ago
by
Yuichiro Hanada
Browse files
Options
Downloads
Patches
Plain Diff
Show more messages when reading a compressed combined format file.
Change-Id: I51a1b9454fcfe656e0fcf762dcfd9ecbadde86c3
parent
4deb824f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/dicttool/src/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java
+5
-1
5 additions, 1 deletion
.../inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java
with
5 additions
and
1 deletion
tools/dicttool/src/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtils.java
+
5
−
1
View file @
73665510
...
@@ -183,7 +183,11 @@ public final class BinaryDictOffdeviceUtils {
...
@@ -183,7 +183,11 @@ public final class BinaryDictOffdeviceUtils {
filename
+
" does not seem to be a dictionary file"
));
filename
+
" does not seem to be a dictionary file"
));
}
else
if
(
CombinedInputOutput
.
isCombinedDictionary
(
}
else
if
(
CombinedInputOutput
.
isCombinedDictionary
(
decodedSpec
.
mFile
.
getAbsolutePath
())){
decodedSpec
.
mFile
.
getAbsolutePath
())){
if
(
report
)
System
.
out
.
println
(
"Format : Combined format"
);
if
(
report
)
{
System
.
out
.
println
(
"Format : Combined format"
);
System
.
out
.
println
(
"Packaging : "
+
decodedSpec
.
describeChain
());
System
.
out
.
println
(
"Uncompressed size : "
+
decodedSpec
.
mFile
.
length
());
}
return
CombinedInputOutput
.
readDictionaryCombined
(
return
CombinedInputOutput
.
readDictionaryCombined
(
new
BufferedInputStream
(
new
FileInputStream
(
decodedSpec
.
mFile
)));
new
BufferedInputStream
(
new
FileInputStream
(
decodedSpec
.
mFile
)));
}
else
{
}
else
{
...
...
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