mirror of
https://github.com/alibaba/p3c.git
synced 2025-10-15 07:32:36 +00:00
Merge pull request #70 from SeanCai/master
do not use forEach of jdk1.8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user