Don't need to call memoryAddress() here as we do it later on anyway
This commit is contained in:
@@ -29,8 +29,6 @@ public class LibdeflateVelocityCompressor implements VelocityCompressor {
|
|||||||
public void inflate(ByteBuf source, ByteBuf destination, int uncompressedSize)
|
public void inflate(ByteBuf source, ByteBuf destination, int uncompressedSize)
|
||||||
throws DataFormatException {
|
throws DataFormatException {
|
||||||
ensureNotDisposed();
|
ensureNotDisposed();
|
||||||
source.memoryAddress();
|
|
||||||
destination.memoryAddress();
|
|
||||||
|
|
||||||
// libdeflate recommends we work with a known uncompressed size - so we work strictly within
|
// libdeflate recommends we work with a known uncompressed size - so we work strictly within
|
||||||
// those parameters. If the uncompressed size doesn't match the compressed size, then we will
|
// those parameters. If the uncompressed size doesn't match the compressed size, then we will
|
||||||
|
Reference in New Issue
Block a user