@@ -0,0 +1,518 @@
+package com.avast;%0A%0Aimport java.nio.ByteBuffer;%0A%0A/**%0A * Test compressor that don't modify data.%0A *%0A * Warning: this compressor uses slice method on buffers for fastest use,%0A * content will be shared and later modifications can cause problems!%0A */%0Apublic class NullCompressor extends Compressor %7B%0A%0A    @Override%0A    public ByteBuffer decompress(ByteBuffer compressedIn) %7B%0A        return compressedIn.slice();%0A    %7D%0A%0A    @Override%0A    public ByteBuffer compress(ByteBuffer rawIn) %7B%0A        return rawIn.slice();%0A    %7D%0A%7D%0A

add null compressor for testing