Skip to content
Snippets Groups Projects
Commit cfc696f4 authored by Shixiong Zhu's avatar Shixiong Zhu
Browse files

[SPARK-21253][CORE][HOTFIX] Fix Scala 2.10 build

## What changes were proposed in this pull request?

A follow up PR to fix Scala 2.10 build for #18472

## How was this patch tested?

Jenkins

Author: Shixiong Zhu <shixiong@databricks.com>

Closes #18478 from zsxwing/SPARK-21253-2.
parent 88a536ba
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ public class TransportResponseHandler extends MessageHandler<ResponseMessage> {
public void addStreamCallback(String streamId, StreamCallback callback) {
timeOfLastRequestNs.set(System.nanoTime());
streamCallbacks.offer(Tuple2.apply(streamId, callback));
streamCallbacks.offer(new Tuple2<>(streamId, callback));
}
@VisibleForTesting
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment