| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.5.0-alpha06" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.0-alpha06)" variant="all" version="8.5.0-alpha06"> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" val filtered get() = contacts.filter { it.name.contains(filter) }" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/ContactModel.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" val toRun = awaiters.toList()" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/TestMonotonicFrameClock.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" toRun.map { it.runFrame(frameTime) }.forEach { it() }" |
| errorLine2=" ~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/TestMonotonicFrameClock.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" toRun.map { it.runFrame(frameTime) }.forEach { it() }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/TestMonotonicFrameClock.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" children.forEach { it.render(indent + 2, builder) }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" removedChildren.forEach { child -> child.parent = null }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" val copyOfItems = itemsToMove.map { it }" |
| errorLine2=" ~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" children.forEach { child -> child.parent = null }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" else attributes.map { " ${it.key}='${it.value}'" }.joinToString()" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" children.map { it.toString() }.joinToString(" ")" |
| errorLine2=" ~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" children.map { it.toString() }.joinToString(" ")" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" for (child in children) {" |
| errorLine2=" ~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1="fun View.flatten(): List<View> = listOf(this) + children.flatMap { it.flatten() }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/runtime/mock/View.kt"/> |
| </issue> |
| |
| </issues> |