Skip to content

Commit 2c8b7ee

Browse files
committed
rats
1 parent 1578a4a commit 2c8b7ee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.rat-excludes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ local-1422981759269/*
7272
local-1422981780767/*
7373
local-1425081759269/*
7474
local-1426533911241/*
75+
local-1427397477963/*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private[v1] object AllStagesResource {
153153
def getMetric[T](data: Seq[T], f: T => Double): IndexedSeq[Double] =
154154
Distribution(data.map{d=> f(d)}).get.getQuantiles(quantiles)
155155

156-
abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
156+
private abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
157157
val data: Seq[I] = rawMetrics.flatMap{x => f(x)}
158158
def build: O
159159
def m(f: I => Double): IndexedSeq[Double] = getMetric(data, f)

0 commit comments

Comments
 (0)