Skip to content

Commit ef63cdb

Browse files
author
liupengcheng
committed
remove useless code
1 parent bc44188 commit ef63cdb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

common/network-common/src/main/java/org/apache/spark/network/util/TransportFrameDecoder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ private ByteBuf decodeNext() {
170170
while (frameRemainingBytes > 0 && !buffers.isEmpty()) {
171171
ByteBuf next = nextBufferForFrame(frameRemainingBytes);
172172
frameRemainingBytes -= next.readableBytes();
173-
// frameBuf.addComponent(next).writerIndex(frameBuf.writerIndex() + next.readableBytes());
174173
frameBuf.addComponent(true, next);
175174
}
176175
// If the delta size of frameBuf exceeds the threshold, then we do consolidation

0 commit comments

Comments
 (0)