| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 9.2.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (9.2.0-alpha07)" variant="all" version="9.2.0-alpha07"> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/CheckboxScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/FloatingActionButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/NavigationRailScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(1)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ObservableThemeTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/TabScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ComposableNaming" |
| message="Composable functions with a return type should start with a lowercase letter" |
| errorLine1="fun DropdownMenu(" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/material/AndroidMenu.android.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" Scaffold { Text("Scaffold body") }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" Scaffold {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" ) {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="UnusedMaterialScaffoldPaddingParameter" |
| message="Content padding parameter it is not used" |
| errorLine1=" Scaffold {" |
| errorLine2=" ^"> |
| <location |
| file="src/androidDeviceTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable crossAxisSizes with type List<Integer>: replace with IntList" |
| errorLine1=" val crossAxisSizes = mutableListOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable crossAxisPositions with type List<Integer>: replace with IntList" |
| errorLine1=" val crossAxisPositions = mutableListOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.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/material/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<T, Float> of getAnchors$material: replace with ObjectFloatMap" |
| errorLine1=" internal val anchors = mutableMapOf<T, Float>()" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/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/material/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/material/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method BaselinesOffsetColumn has parameter offsets with type List<Dp>: replace with FloatList" |
| errorLine1=" offsets: List<Dp>," |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/ListItem.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable tickFractions with type List<? extends Float>: replace with FloatList" |
| errorLine1=" val tickFractions = remember(steps) { stepsToTickFractions(steps) }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable tickFractions with type List<? extends Float>: replace with FloatList" |
| errorLine1=" val tickFractions = remember(steps) { stepsToTickFractions(steps) }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method SliderImpl has parameter tickFractions with type List<Float>: replace with FloatList" |
| errorLine1=" tickFractions: List<Float>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method RangeSliderImpl has parameter tickFractions with type List<Float>: replace with FloatList" |
| errorLine1=" tickFractions: List<Float>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method Track has parameter tickFractions with type List<Float>: replace with FloatList" |
| errorLine1=" tickFractions: List<Float>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method snapValueToTick has parameter tickFractions with type List<Float>: replace with FloatList" |
| errorLine1=" tickFractions: List<Float>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Float> of stepsToTickFractions: replace with FloatList" |
| errorLine1="private fun stepsToTickFractions(steps: Int): List<Float> {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable anchors with type Map<Float, DismissValue>: replace with FloatObjectMap" |
| errorLine1=" val anchors = mutableMapOf(0f to Default)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/SwipeToDismiss.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method setAnchors$material has parameter <set-?> with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Float, T> of getAnchors$material: replace with FloatObjectMap" |
| errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ensureInit$material has parameter newAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal fun ensureInit(newAnchors: Map<Float, T>) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method processNewAnchors$material has parameter newAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal suspend fun processNewAnchors(oldAnchors: Map<Float, T>, newAnchors: Map<Float, T>) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method processNewAnchors$material has parameter oldAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal suspend fun processNewAnchors(oldAnchors: Map<Float, T>, newAnchors: Map<Float, T>) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable bounds with type List<? extends Float>: replace with FloatList" |
| errorLine1=" val bounds = findBounds(offset.value, anchors.keys)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method swipeable has parameter anchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" anchors: Map<Float, T>," |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable oldAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" val oldAnchors = state.anchors" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method findBounds has parameter anchors with type Set<Float>: replace with FloatSet" |
| errorLine1="private fun findBounds(offset: Float, anchors: Set<Float>): List<Float> {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Float> of findBounds: replace with FloatList" |
| errorLine1="private fun findBounds(offset: Float, anchors: Set<Float>): List<Float> {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method computeTarget has parameter anchors with type Set<Float>: replace with FloatSet" |
| errorLine1=" anchors: Set<Float>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable bounds with type List<? extends Float>: replace with FloatList" |
| errorLine1=" val bounds = findBounds(offset, anchors)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method getOffset has parameter $this$getOffset with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1="private fun <T> Map<Float, T>.getOffset(state: T): Float? {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method resistanceConfig has parameter anchors with type Set<Float>: replace with FloatSet" |
| errorLine1=" anchors: Set<Float>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| </issues> |