Skip to content

Commit b798535

Browse files
committed
Fix the missed issue
1 parent e5e21c1 commit b798535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streaming/src/main/scala/org/apache/spark/streaming/receiver/BlockGenerator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private[streaming] class BlockGenerator(
8484
* Push a single data item into the buffer. All received data items
8585
* will be periodically pushed into BlockManager.
8686
*/
87-
def += (data: Any, metadata: Any = null): Unit = synchronized {
87+
def += (data: Any): Unit = synchronized {
8888
waitToPush()
8989
currentBuffer += data
9090
}

0 commit comments

Comments
 (0)