diff options
author | GuoQiang Li <witgo@qq.com> | 2015-03-06 13:20:20 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-03-06 13:20:20 +0000 |
commit | 05cb6b34d8fc25114f3dd3e2bd156386c00eb391 (patch) | |
tree | 296c844e5bb57af864aa08d2f992803883f51cdc /core/src | |
parent | cd7594ca6acf1226bf91f8a783606bf5c116f7df (diff) | |
download | spark-05cb6b34d8fc25114f3dd3e2bd156386c00eb391.tar.gz spark-05cb6b34d8fc25114f3dd3e2bd156386c00eb391.tar.bz2 spark-05cb6b34d8fc25114f3dd3e2bd156386c00eb391.zip |
[Minor] Resolve sbt warnings: postfix operator second should be enabled
Resolve sbt warnings:
```
[warn] spark/streaming/src/main/scala/org/apache/spark/streaming/util/WriteAheadLogManager.scala:155: postfix operator second should be enabled
[warn] by making the implicit value scala.language.postfixOps visible.
[warn] This can be achieved by adding the import clause 'import scala.language.postfixOps'
[warn] or by setting the compiler option -language:postfixOps.
[warn] See the Scala docs for value scala.language.postfixOps for a discussion
[warn] why the feature should be explicitly enabled.
[warn] Await.ready(f, 1 second)
[warn] ^
```
Author: GuoQiang Li <witgo@qq.com>
Closes #4908 from witgo/sbt_warnings and squashes the following commits:
0629af4 [GuoQiang Li] Resolve sbt warnings: postfix operator second should be enabled
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/org/apache/spark/scheduler/local/LocalBackend.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/scala/org/apache/spark/scheduler/local/LocalBackend.scala b/core/src/main/scala/org/apache/spark/scheduler/local/LocalBackend.scala index 4676b828d3..d95426d918 100644 --- a/core/src/main/scala/org/apache/spark/scheduler/local/LocalBackend.scala +++ b/core/src/main/scala/org/apache/spark/scheduler/local/LocalBackend.scala @@ -20,6 +20,7 @@ package org.apache.spark.scheduler.local import java.nio.ByteBuffer import scala.concurrent.duration._ +import scala.language.postfixOps import akka.actor.{Actor, ActorRef, Props} |