Skip to content

Commit 51eaedb

Browse files
committed
more visibility fixes
1 parent 9f28b7e commit 51eaedb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/main/scala/org/apache/spark/status/api/v1/AllStagesResource.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import org.apache.spark.ui.SparkUI
2626
import org.apache.spark.ui.jobs.UIData.{StageUIData, TaskUIData}
2727

2828
@Produces(Array(MediaType.APPLICATION_JSON))
29-
class AllStagesResource(uiRoot: UIRoot) {
29+
private[v1] class AllStagesResource(uiRoot: UIRoot) {
3030

3131
@GET
3232
def stageList(
@@ -56,7 +56,7 @@ class AllStagesResource(uiRoot: UIRoot) {
5656
}
5757
}
5858

59-
object AllStagesResource {
59+
private[v1] object AllStagesResource {
6060
def stageUiToStageData(
6161
status: StageStatus,
6262
stageInfo: StageInfo,

core/src/main/scala/org/apache/spark/status/api/v1/OneStageResource.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import javax.ws.rs.core.MediaType
2222
import org.apache.spark.SparkException
2323

2424
@Produces(Array(MediaType.APPLICATION_JSON))
25-
class OneStageResource(uiRoot: UIRoot) {
25+
private[v1] class OneStageResource(uiRoot: UIRoot) {
2626

2727
@GET
2828
def stageData(

0 commit comments

Comments
 (0)