| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.4.0-alpha09" type="baseline" client="gradle" dependencies="false" name="AGP (8.4.0-alpha09)" variant="all" version="8.4.0-alpha09"> |
| |
| <issue |
| id="BanSuppressTag" |
| message="@suppress is not allowed in documentation" |
| errorLine1="class TextDelegate(" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="BanSuppressTag" |
| message="@suppress is not allowed in documentation" |
| errorLine1=" fun applyCompositionDecoration(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/foundation/lazy/grid/LazyScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/foundation/lazy/list/LazyScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridAnimatedScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field anchors with type Map<T, Float>: replace with ObjectFloatMap" |
| errorLine1=" internal val anchors = mutableMapOf<T, Float>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<T, Float> of getAnchors$lint_module: replace with ObjectFloatMap" |
| errorLine1=" internal val anchors = mutableMapOf<T, Float>()" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor MapDraggableAnchors has parameter anchors with type Map<T, Float>: replace with ObjectFloatMap" |
| errorLine1="private class MapDraggableAnchors<T>(private val anchors: Map<T, Float>) : DraggableAnchors<T> {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field anchors with type Map<T, Float>: replace with ObjectFloatMap" |
| errorLine1="private class MapDraggableAnchors<T>(private val anchors: Map<T, Float>) : DraggableAnchors<T> {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method genericClickableWithoutGesture has parameter currentKeyPressInteractions with type Map<Key, Press>: replace with LongObjectMap" |
| errorLine1=" currentKeyPressInteractions: MutableMap<Key, PressInteraction.Press>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/Clickable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field currentKeyPressInteractions with type Map<Key, Press>: replace with LongObjectMap" |
| errorLine1=" private val currentKeyPressInteractions = mutableMapOf<Key, PressInteraction.Press>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/Clickable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGrid.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateCrossAxisCellSizes: replace with IntList" |
| errorLine1=" fun Density.calculateCrossAxisCellSizes(availableSize: Int, spacing: Int): List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateCellsCrossAxisSizeImpl: replace with IntList" |
| errorLine1="): List<Int> {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyGrid has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method calculateExtraItems has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LazyGridMeasuredLine has parameter spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" private val spans: List<GridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasuredLine.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" private val spans: List<GridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasuredLine.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createLine has parameter spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" spans: List<GridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasuredLineProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LineConfiguration has parameter spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<GridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<GridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<GridItemSpan> of getSpans: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<GridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field cachedBucket with type List<Integer>: replace with IntList" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field previousDefaultSpans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<GridItemSpan> of getDefaultSpans: replace with LongList" |
| errorLine1=" private fun getDefaultSpans(currentSlotsPerLine: Int) =" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" val spans = mutableListOf<GridItemSpan>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field countPerType with type Map<Object, Integer>: replace with ObjectIntMap" |
| errorLine1=" private val countPerType = mutableMapOf<Any?, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateLazyLayoutPinnedIndices: replace with IntList" |
| errorLine1="): List<Int> {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutBeyondBoundsState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = mutableListOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutBeyondBoundsState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field placeablesCache with type HashMap<Integer, List<Placeable>>: replace with IntObjectMap" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutMeasureScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyList.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method findOrComposeLazyListHeader has parameter headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" headerIndexes: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListHeaders.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field _headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" private var _headerIndexes: MutableList<Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of getHeaderIndexes: replace with IntList" |
| errorLine1=" val headerIndexes: List<Int> get() = _headerIndexes ?: emptyList()" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable varb332e573 with type List<Integer>: replace with IntList" |
| errorLine1=" val headerIndexes: List<Int> get() = _headerIndexes ?: emptyList()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable headersIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" val headersIndexes = _headerIndexes ?: mutableListOf<Int>().also {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable varb3338ae4 with type List<Integer>: replace with IntList" |
| errorLine1=" val headersIndexes = _headerIndexes ?: mutableListOf<Int>().also {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of getHeaderIndexes: replace with IntList" |
| errorLine1=" val headerIndexes: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListItemProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyList has parameter headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" headerIndexes: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createItemsAfterList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createItemsBeforeList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureStaggeredGrid has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LazyStaggeredGridMeasureContext has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" val pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" val pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of getPinnedItems: replace with IntList" |
| errorLine1=" val pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasurePolicy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field currentItemPrefetchHandles with type Map<Integer, PrefetchHandle>: replace with IntObjectMap" |
| errorLine1=" private val currentItemPrefetchHandles = mutableMapOf<Int, PrefetchHandle>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable prefetchHandlesUsed with type Set<Integer>: replace with IntSet" |
| errorLine1=" val prefetchHandlesUsed = mutableSetOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method clearLeftoverPrefetchHandles has parameter prefetchHandlesUsed with type Set<Integer>: replace with IntSet" |
| errorLine1=" private fun clearLeftoverPrefetchHandles(prefetchHandlesUsed: Set<Int>) {" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measurePager has parameter pinnedPages with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedPages: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createPagesAfterList has parameter pinnedPages with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedPages: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createPagesBeforeList has parameter pinnedPages with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedPages: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedPages with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedPages = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasurePolicy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Selection> of createSubSelections: replace with LongObjectMap" |
| errorLine1=" fun createSubSelections(selection: Selection): Map<Long, Selection>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor MultiSelectionLayout has parameter selectableIdToInfoListIndex with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" val selectableIdToInfoListIndex: Map<Long, Int>," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field selectableIdToInfoListIndex with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" val selectableIdToInfoListIndex: Map<Long, Int>," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Integer> of getSelectableIdToInfoListIndex: replace with LongIntMap" |
| errorLine1=" val selectableIdToInfoListIndex: Map<Long, Int>," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createAndPutSubSelection has parameter $this$createAndPutSubSelection with type Map<Long, Selection>: replace with LongObjectMap" |
| errorLine1=" private fun MutableMap<Long, Selection>.createAndPutSubSelection(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field selectableIdToInfoListIndex with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" private val selectableIdToInfoListIndex: MutableMap<Long, Int> = mutableMapOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable newSubselection with type Map<Long, ? extends Selection>: replace with LongObjectMap" |
| errorLine1=" val (newSelection, newSubselection) = selectAll(" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable subselections with type Map<Long, Selection>: replace with LongObjectMap" |
| errorLine1=" val subselections = mutableMapOf<Long, Selection>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable idToIndexMap with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" val idToIndexMap = mutableMapOf<Long, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Selection> of getSubselections: replace with LongObjectMap" |
| errorLine1=" val subselections: Map<Long, Selection>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrar.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field _selectableMap with type Map<Long, Selectable>: replace with LongObjectMap" |
| errorLine1=" private val _selectableMap = mutableMapOf<Long, Selectable>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Selectable> of getSelectableMap$lint_module: replace with LongObjectMap" |
| errorLine1=" internal val selectableMap: Map<Long, Selectable>" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method setSubselections has parameter <set-?> with type Map<Long, Selection>: replace with LongObjectMap" |
| errorLine1=" override var subselections: Map<Long, Selection> by mutableStateOf(emptyMap())" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field baselineCache with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" private var baselineCache: MutableMap<AlignmentLine, Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/TextStringSimpleNode.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable cache with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" var cache = baselineCache" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/TextStringSimpleNode.kt"/> |
| </issue> |
| |
| </issues> |