| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.13.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.0-alpha01)" variant="all" version="8.13.0-alpha01"> |
| |
| <issue |
| id="MutableCollectionMutableState" |
| message="Creating a MutableState object with a mutable collection type" |
| errorLine1=" currStateMap = remember { mutableStateOf(stateMap1) }" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProviderTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" backStack.mapIndexed { index, key ->" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" latestDecorators.reversed().forEach { it.onPop(contentKey) }" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" latestDecorators.reversed().forEach { it.onPop(contentKey) }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" val latestBackStack by rememberUpdatedState(entries.map { it.contentKey })" |
| errorLine2=" ~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" latestBackStack.forEach { contentKey ->" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" latestDecorators.reversed().forEach { it.onPop(contentKey) }" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" latestDecorators.reversed().forEach { it.onPop(contentKey) }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" save = { list -> list.map { encodeToSavedState(serializer, it) } }," |
| errorLine2=" ~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/navigation3/runtime/NavBackStack.android.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" restore = { list -> list.map { decodeFromSavedState(serializer, it) } }," |
| errorLine2=" ~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/navigation3/runtime/NavBackStack.android.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" .distinct()" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/NavEntryDecorator.kt"/> |
| </issue> |
| |
| <issue |
| id="UnnecessaryLambdaCreation" |
| message="Creating an unnecessary lambda to emit a captured lambda" |
| errorLine1=" CompositionLocalProvider(LocalNavEntryDecoratorLocalInfo provides localInfo) { content() }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field popCallbacks with type LinkedHashMap<Integer, Function1<Object, Unit>>: replace with IntObjectMap" |
| errorLine1=" val popCallbacks: LinkedHashMap<Int, (key: Any) -> Unit> = LinkedHashMap()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type LinkedHashMap<Integer, Function1<Object, Unit>> of getPopCallbacks: replace with IntObjectMap" |
| errorLine1=" val popCallbacks: LinkedHashMap<Int, (key: Any) -> Unit> = LinkedHashMap()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/navigation3/runtime/DecoratedNavEntryProvider.kt"/> |
| </issue> |
| |
| </issues> |