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(
114
114
115
115
/** Push a single record of received data into block generator. */
116
116
def pushSingle (data : Any ) {
117
- blockGenerator addData (data)
117
+ blockGenerator. addData(data)
118
118
}
119
119
120
120
/** 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 {
138
138
blockGenerator.start()
139
139
var count = 0
140
140
while (System .currentTimeMillis - startTime < waitTime) {
141
- blockGenerator addData count
141
+ blockGenerator. addData( count)
142
142
generatedData += count
143
143
count += 1
144
144
Thread .sleep(10 )
@@ -168,7 +168,7 @@ class ReceiverSuite extends FunSuite with Timeouts {
168
168
blockGenerator.start()
169
169
var count = 0
170
170
while (System .currentTimeMillis - startTime < waitTime) {
171
- blockGenerator addData count
171
+ blockGenerator. addData( count)
172
172
generatedData += count
173
173
count += 1
174
174
Thread .sleep(1 )
You can’t perform that action at this time.
0 commit comments