Github user feynmanliang commented on a diff in the pull request: https://github.com/apache/spark/pull/8241#discussion_r38010012 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala --- @@ -21,16 +21,15 @@ import java.lang.{Iterable => JIterable} import scala.collection.JavaConverters._ -import org.json4s.JsonDSL._ -import org.json4s.jackson.JsonMethods._ - import org.apache.spark.{Logging, SparkContext, SparkException} import org.apache.spark.annotation.Since import org.apache.spark.mllib.linalg.{BLAS, DenseMatrix, DenseVector, SparseVector, Vector} import org.apache.spark.mllib.regression.LabeledPoint -import org.apache.spark.mllib.util.{Loader, Saveable} +import org.apache.spark.mllib.util.{Broadcastable, Loader, Saveable} import org.apache.spark.rdd.RDD import org.apache.spark.sql.{DataFrame, SQLContext} +import org.json4s.JsonDSL._ --- End diff -- Oh, those need to go back to where they were before, see [style guide|https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide#SparkCodeStyleGuide-Imports]
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org