Skip to content

Commit fd49893

Browse files
committed
Fix CI issues
1 parent 18994d1 commit fd49893

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

metadata/src/main/java/org/apache/kafka/controller/metrics/YammerTimeRatio.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717

1818
package org.apache.kafka.controller.metrics;
1919

20-
import com.yammer.metrics.core.Gauge;
2120
import org.apache.kafka.raft.internals.TimeRatio;
2221

22+
import com.yammer.metrics.core.Gauge;
23+
2324
/**
2425
* Yammer Metrics facade for TimeRatio.
2526
* This class provides a Gauge interface for Yammer metrics registry
@@ -49,5 +50,7 @@ public void record(double idleDurationMs, long currentTimeMs) {
4950
* @return The ratio of idle time to total time (between 0.0 and 1.0)
5051
*/
5152
@Override
52-
public Double value() { return timeRatio.measure(); }
53+
public Double value() {
54+
return timeRatio.measure();
55+
}
5356
}

0 commit comments

Comments
 (0)