Improve a few comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@732054 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8768f1b7f0
commit
c4362b17e2
@ -259,6 +259,8 @@ private void outputCompressed(OutputStream res) throws IOException {
|
|||||||
// Increment the mask bit count, we've done another code
|
// Increment the mask bit count, we've done another code
|
||||||
maskBitsSet++;
|
maskBitsSet++;
|
||||||
// Add the length+code to the buffer
|
// Add the length+code to the buffer
|
||||||
|
// (The position is the first 12 bits, the
|
||||||
|
// length is the last 4 bits)
|
||||||
// TODO
|
// TODO
|
||||||
posOut += 2;
|
posOut += 2;
|
||||||
|
|
||||||
@ -351,8 +353,11 @@ private void compress(InputStream src, OutputStream res) throws IOException {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there was something in rawCode before, then we
|
// If we get here, then the rawCode + this byte weren't
|
||||||
// need to output that
|
// found in the dictionary
|
||||||
|
|
||||||
|
// If there was something in rawCode before, then that was
|
||||||
|
// found in the dictionary, so output that compressed
|
||||||
rawCodeLen--;
|
rawCodeLen--;
|
||||||
if(rawCodeLen > 0) {
|
if(rawCodeLen > 0) {
|
||||||
// Output the old rawCode
|
// Output the old rawCode
|
||||||
|
Loading…
Reference in New Issue
Block a user