Skip to content

Commit

Permalink
Replaced assert with a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
malhotrashivam committed Sep 15, 2023
1 parent bcf799d commit a4fb2f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public BytesInput decompress(final InputStream inputStream, final int compressed
return super.decompress(inputStream, compressedSize, uncompressedSize);
}
if (mode == DecompressionMode.LZ4_RAW) {
assert lz4RawAdapter != null;
// LZ4_RAW adapter should have been initialized if we hit this case.
return lz4RawAdapter.decompress(inputStream, compressedSize, uncompressedSize);
}
// Buffer input data in case we need to retry with LZ4_RAW.
Expand Down

0 comments on commit a4fb2f6

Please sign in to comment.