From 375e150e2f317e8bfc46992c13f60ca74ed04c00 Mon Sep 17 00:00:00 2001 From: "Joseph K. Bradley" Date: Wed, 18 Apr 2018 18:02:57 -0700 Subject: [PATCH] fixed scala style --- .../spark/ml/clustering/PowerIterationClusteringSuite.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mllib/src/test/scala/org/apache/spark/ml/clustering/PowerIterationClusteringSuite.scala b/mllib/src/test/scala/org/apache/spark/ml/clustering/PowerIterationClusteringSuite.scala index dcdfc257af10e..65328df17baff 100644 --- a/mllib/src/test/scala/org/apache/spark/ml/clustering/PowerIterationClusteringSuite.scala +++ b/mllib/src/test/scala/org/apache/spark/ml/clustering/PowerIterationClusteringSuite.scala @@ -19,12 +19,12 @@ package org.apache.spark.ml.clustering import scala.collection.mutable +import org.apache.spark.{SparkException, SparkFunSuite} import org.apache.spark.ml.util.DefaultReadWriteTest import org.apache.spark.mllib.util.MLlibTestSparkContext +import org.apache.spark.sql.{DataFrame, Dataset, Row, SparkSession} import org.apache.spark.sql.functions.col import org.apache.spark.sql.types._ -import org.apache.spark.sql.{DataFrame, Dataset, Row, SparkSession} -import org.apache.spark.{SparkException, SparkFunSuite} class PowerIterationClusteringSuite extends SparkFunSuite @@ -145,7 +145,6 @@ class PowerIterationClusteringSuite extends SparkFunSuite model.transform(typedData) } intercept[IllegalArgumentException] { - val typedData = data.select( col("id"), col("neighbors"),