mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 19:15:29 -04:00
Removed unnecessary (duplicate) if-statement.
This commit is contained in:
parent
13a4646ae4
commit
e95cf300ba
@ -116,9 +116,7 @@ public final class EncoderStream extends FilterOutputStream {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Encode data already in the buffer
|
// Encode data already in the buffer
|
||||||
if (bufferPos != 0) {
|
encodeBuffer();
|
||||||
encodeBuffer();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Encode rest without buffering
|
// Encode rest without buffering
|
||||||
encoder.encode(out, pBytes, pOffset, pLength);
|
encoder.encode(out, pBytes, pOffset, pLength);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user