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

    https://github.com/apache/spark/pull/6935#discussion_r47554225
  
    --- Diff: 
core/src/test/scala/org/apache/spark/deploy/history/HistoryServerSuite.scala ---
    @@ -21,15 +21,28 @@ import java.net.{HttpURLConnection, URL}
     import java.util.zip.ZipInputStream
     import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
     
    +import scala.concurrent.duration._
    +import scala.language.postfixOps
    +
    +import com.codahale.metrics.Counter
     import com.google.common.base.Charsets
     import com.google.common.io.{ByteStreams, Files}
     import org.apache.commons.io.{FileUtils, IOUtils}
    +import org.apache.hadoop.fs.{FileStatus, FileSystem, Path}
    +import org.json4s.JsonAST.JArray
    +import org.json4s.jackson.JsonMethods._
     import org.mockito.Mockito.when
    +import org.openqa.selenium.htmlunit.HtmlUnitDriver
    +import org.openqa.selenium.WebDriver
    +import org.scalatest.concurrent.Eventually
    +import org.scalatest.selenium.WebBrowser
     import org.scalatest.{BeforeAndAfter, Matchers}
     import org.scalatest.mock.MockitoSugar
     
    -import org.apache.spark.{JsonTestUtils, SecurityManager, SparkConf, 
SparkFunSuite}
    +import org.apache.spark.ui.jobs.UIData.JobUIData
     import org.apache.spark.ui.{SparkUI, UIUtils}
    +import org.apache.spark._
    --- End diff --
    
    super nit: class imports sort before subclass imports, its not just 
alphabetical -- so actually even with "_" the line still sorts first in the 
spark group.  I really recommend using the IntelliJ import plugin, (not the 
builtin behavior) as explained here: 
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to