aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorStephen Haberman <stephen@exigencecorp.com>2013-03-23 11:49:45 -0500
committerStephen Haberman <stephen@exigencecorp.com>2013-03-23 11:49:45 -0500
commitdd854d5b9fdc1fe60af4dc649af4202a8ddac0d8 (patch)
tree3426c09b86e8d277ca3e91d787de2f862975ab08 /core/src/test
parent4ca273edc4b19894675e96fb62b3afb04ce77a37 (diff)
downloadspark-dd854d5b9fdc1fe60af4dc649af4202a8ddac0d8.tar.gz
spark-dd854d5b9fdc1fe60af4dc649af4202a8ddac0d8.tar.bz2
spark-dd854d5b9fdc1fe60af4dc649af4202a8ddac0d8.zip
Use Boolean in the Java API, and != for assert.
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/scala/spark/RDDSuite.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/test/scala/spark/RDDSuite.scala b/core/src/test/scala/spark/RDDSuite.scala
index a6178867bc..7fbdd44340 100644
--- a/core/src/test/scala/spark/RDDSuite.scala
+++ b/core/src/test/scala/spark/RDDSuite.scala
@@ -187,7 +187,8 @@ class RDDSuite extends FunSuite with LocalSparkContext {
// we can optionally shuffle to keep the upstream parallel
val coalesced5 = data.coalesce(1, shuffle = true)
- assert(coalesced5.dependencies.head.rdd.dependencies.head.rdd.asInstanceOf[ShuffledRDD[_, _]] ne null)
+ assert(coalesced5.dependencies.head.rdd.dependencies.head.rdd.asInstanceOf[ShuffledRDD[_, _]] !=
+ null)
}
test("zipped RDDs") {