提交 fc203e79 编写于 作者: S SeanCai 提交者: GitHub

Merge pull request #70 from SeanCai/master

do not use forEach of jdk1.8
......@@ -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"
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册