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

    https://github.com/apache/spark/pull/1107#discussion_r13908570
  
    --- Diff: repl/src/main/scala/org/apache/spark/repl/SparkIMain.scala ---
    @@ -102,7 +102,8 @@ import org.apache.spark.util.Utils
     
         val virtualDirectory                              = new 
PlainFile(outputDir) // "directory" for classfiles
         /** Jetty server that will serve our classes to worker nodes */
    -    val classServer                                   = new 
HttpServer(outputDir, new SecurityManager(conf))
    +    val classServerListenPort: Int                    = 
conf.getInt("spark.replClassServer.port", 0)
    --- End diff --
    
    "val classServerListenPort: Int" - word "port" make it obvious, that it's 
Int. There is no need for such specification 


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

Reply via email to