Skip to content

Commit

Permalink
replace break
Browse files Browse the repository at this point in the history
  • Loading branch information
zaynt4606 committed Dec 4, 2024
1 parent 3e0a48d commit 11cebf2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import java.lang
import java.util.{Map => JMap}
import java.util.concurrent.{ConcurrentHashMap, ScheduledExecutorService, TimeUnit}

import scala.collection.{breakOut, mutable}
import scala.collection.JavaConverters._
import scala.collection.mutable
import scala.collection.mutable.ArrayBuffer
import scala.util.Random

Expand Down Expand Up @@ -530,8 +530,7 @@ abstract class AbstractSource(conf: CelebornConf, role: String)
sb.append(s.toString)
var addNum = 0
val appCount0Metrics = ArrayBuffer[String]()
for (m <- metricList) {
if (addNum >= leftNum) breakOut
for (m <- metricList if addNum < leftNum) {
var strMetrics = ""
var isApp = false
m match {
Expand Down

0 comments on commit 11cebf2

Please sign in to comment.