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

    https://github.com/apache/spark/pull/22240#discussion_r212863543
  
    --- Diff: core/src/main/scala/org/apache/spark/BarrierTaskInfo.scala ---
    @@ -28,4 +28,4 @@ import org.apache.spark.annotation.{Experimental, Since}
      */
     @Experimental
     @Since("2.4.0")
    -class BarrierTaskInfo(val address: String)
    +class BarrierTaskInfo private[spark] (val address: String)
    --- End diff --
    
    hide the constructor since this is not to be constructed by user


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to