Skip to content

Commit

Permalink
ConcurrentJobsDemo 中 MyReceiver 构造函数去掉 ()
Browse files Browse the repository at this point in the history
  • Loading branch information
lw-lin authored Aug 10, 2016
1 parent d410791 commit 33ee00f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ object ConcurrentJobsDemo {
ssc.awaitTermination()
}

class MyReceiver() extends Receiver[String](StorageLevel.MEMORY_ONLY) {
class MyReceiver extends Receiver[String](StorageLevel.MEMORY_ONLY) {

override def onStart() {
// invoke store("str") every 100ms
Expand Down

0 comments on commit 33ee00f

Please sign in to comment.