Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zuston committed Dec 15, 2023
1 parent bacd33b commit 1f8d253
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,7 @@ public boolean hasNext() {
}

private boolean isSameMemoryType(ByteBuffer left, ByteBuffer right) {
if (left.isDirect() && right.isDirect()) {
return true;
}

if (!left.isDirect() && !right.isDirect()) {
return true;
}

return false;
return left.isDirect() == right.isDirect();
}

private int uncompress(CompressedShuffleBlock rawBlock, ByteBuffer rawData) {
Expand Down

0 comments on commit 1f8d253

Please sign in to comment.