Github user sabhyankar commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8241#discussion_r37980863
  
    --- 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 --
    
    @feynmanliang These json* imports were always there. They were simply 
reordered by the import order plugin I used for IntelliJ. The only additional 
import is for the Broadcastable trait.


---
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

Reply via email to