Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cse332-18au
p1
Commits
75b5f77d
Commit
75b5f77d
authored
Jan 15, 2016
by
Michael Lee
Browse files
Fix disabling debug issue
parent
21674cb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cse332/jazzlib/HuffmanCompressor.java
View file @
75b5f77d
...
...
@@ -608,10 +608,11 @@ public class HuffmanCompressor
public
boolean
tallyDist
(
int
dist
,
int
len
)
{
if
(
DeflaterConstants
.
DEBUGGING
)
if
(
DeflaterConstants
.
DEBUGGING
)
{
System
.
err
.
println
(
"["
+
dist
+
", "
+
len
+
"]"
);
}
d_buf
[
last_lit
]
=
(
short
)
dist
;
d_buf
[
last_lit
]
=
(
short
)
dist
;
l_buf
[
last_lit
++]
=
(
byte
)
(
len
-
3
);
int
lc
=
l_code
(
len
-
3
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment