File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/scala/org/apache/spark/streaming/receiver
test/scala/org/apache/spark/streaming Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ private[streaming] class ReceiverSupervisorImpl(
114114
115115 /** Push a single record of received data into block generator. */
116116 def pushSingle (data : Any ) {
117- blockGenerator addData (data)
117+ blockGenerator. addData(data)
118118 }
119119
120120 /** Store an ArrayBuffer of received data as a data block into Spark's memory. */
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ class ReceiverSuite extends FunSuite with Timeouts {
138138 blockGenerator.start()
139139 var count = 0
140140 while (System .currentTimeMillis - startTime < waitTime) {
141- blockGenerator addData count
141+ blockGenerator. addData( count)
142142 generatedData += count
143143 count += 1
144144 Thread .sleep(10 )
@@ -168,7 +168,7 @@ class ReceiverSuite extends FunSuite with Timeouts {
168168 blockGenerator.start()
169169 var count = 0
170170 while (System .currentTimeMillis - startTime < waitTime) {
171- blockGenerator addData count
171+ blockGenerator. addData( count)
172172 generatedData += count
173173 count += 1
174174 Thread .sleep(1 )
You can’t perform that action at this time.
0 commit comments