do not use forEach of jdk1.8

pull/70/head
SeanCai 7 years ago committed by GitHub
parent 9a2224a23b
commit 1ca2da502c

@ -41,8 +41,8 @@ object InspectionResults {
fun clear() {
fileViolations.forEach { t, u ->
MarkerUtil.removeAllMarkers(t)
fileViolations.forEach {
MarkerUtil.removeAllMarkers(it.key)
}
fileViolations.clear()
// update contentDescription
@ -99,4 +99,4 @@ object InspectionResults {
"${map[RulePriority.Critical.title]?.count ?: 0} Criticals," +
"${map[RulePriority.Major.title]?.count ?: 0} Majors"
}
}
}

Loading…
Cancel
Save