diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-02-05 19:00:12 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-02-05 19:00:12 -0800 |
commit | 6883a5120c6b3a806024dfad03b8bf7371c6c0eb (patch) | |
tree | 06a98270f4f56b295c18931cdcb8cd3490683181 /sql/catalyst | |
parent | 875f5079290a06c12d44de657dfeabc913e4a303 (diff) | |
download | spark-6883a5120c6b3a806024dfad03b8bf7371c6c0eb.tar.gz spark-6883a5120c6b3a806024dfad03b8bf7371c6c0eb.tar.bz2 spark-6883a5120c6b3a806024dfad03b8bf7371c6c0eb.zip |
[SPARK-13171][CORE] Replace future calls with Future
Trivial search-and-replace to eliminate deprecation warnings in Scala 2.11.
Also works with 2.10
Author: Jakob Odersky <jakob@odersky.com>
Closes #11085 from jodersky/SPARK-13171.
Diffstat (limited to 'sql/catalyst')
-rw-r--r-- | sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala index 0c42e2fc7c..b5413fbe2b 100644 --- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala +++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala @@ -36,7 +36,7 @@ class CodeGenerationSuite extends SparkFunSuite with ExpressionEvalHelper { import scala.concurrent.duration._ val futures = (1 to 20).map { _ => - future { + Future { GeneratePredicate.generate(EqualTo(Literal(1), Literal(1))) GenerateMutableProjection.generate(EqualTo(Literal(1), Literal(1)) :: Nil) GenerateOrdering.generate(Add(Literal(1), Literal(1)).asc :: Nil) |