Skip to content

Commit 190d7fa

Browse files
committed
Fix type parameter error in class NettyBlockRpcServer
1 parent 32c63be commit 190d7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/network/netty/NettyBlockRpcServer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class NettyBlockRpcServer(
8989
BlockCache.addAll(blockIds)
9090
}
9191

92-
responseContext.onSuccess(new Array[Byte](0))
92+
responseContext.onSuccess(ByteBuffer.allocate(0))
9393
}
9494
}
9595

0 commit comments

Comments
 (0)