Skip to content

Commit

Permalink
replace break
Browse files Browse the repository at this point in the history
  • Loading branch information
zaynt4606 committed Nov 29, 2024
1 parent 65790fc commit 356f8cc
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 @@ -512,8 +512,7 @@ abstract class AbstractSource(conf: CelebornConf, role: String)
}
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 356f8cc

Please sign in to comment.