spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject git commit: Merge pull request #54 from aoiwelle/remove_unused_imports
Date Fri, 11 Oct 2013 23:09:25 GMT
Updated Branches:
  refs/heads/branch-0.8 64fae16ec -> 4a2e76a3f


Merge pull request #54 from aoiwelle/remove_unused_imports

Remove unnecessary mutable imports

It appears that the imports aren't necessary here.

(cherry picked from commit dca80094d317363e1e0d7e32bc7dfd99faf943cf)
Signed-off-by: Reynold Xin <rxin@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/4a2e76a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/4a2e76a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/4a2e76a3

Branch: refs/heads/branch-0.8
Commit: 4a2e76a3ff1f76d97761f49ad2560ad7a8cf2019
Parents: 64fae16
Author: Reynold Xin <rxin@apache.org>
Authored: Fri Oct 11 16:08:15 2013 -0700
Committer: Reynold Xin <rxin@apache.org>
Committed: Fri Oct 11 16:09:07 2013 -0700

----------------------------------------------------------------------
 .../src/main/scala/org/apache/spark/examples/SparkKMeans.scala     | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/4a2e76a3/examples/src/main/scala/org/apache/spark/examples/SparkKMeans.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/spark/examples/SparkKMeans.scala b/examples/src/main/scala/org/apache/spark/examples/SparkKMeans.scala
index f7bf75b..bc2db39 100644
--- a/examples/src/main/scala/org/apache/spark/examples/SparkKMeans.scala
+++ b/examples/src/main/scala/org/apache/spark/examples/SparkKMeans.scala
@@ -21,8 +21,6 @@ import java.util.Random
 import org.apache.spark.SparkContext
 import org.apache.spark.util.Vector
 import org.apache.spark.SparkContext._
-import scala.collection.mutable.HashMap
-import scala.collection.mutable.HashSet
 
 /**
  * K-means clustering.


Mime
View raw message