Skip to content

Commit e42bad3

Browse files
author
yash-puligundla
committed
remove duplicate outBuffer creation
1 parent 7482a72 commit e42bad3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/htsjdk/samtools/cram/compression/rans/ransnx16/RANSNx16Decode.java

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public ByteBuffer uncompress(final ByteBuffer inBuffer, int outSize) {
8080
inBuffer.get(data, 0, outSize);
8181
outBuffer = ByteBuffer.wrap(data);
8282
} else {
83-
outBuffer = ByteBuffer.allocate(outSize);
8483
if (outSize != 0) {
8584
switch (ransNx16Params.getOrder()) {
8685
case ZERO:

0 commit comments

Comments
 (0)