| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.8.0-alpha06" type="baseline" client="gradle" dependencies="false" name="AGP (8.8.0-alpha06)" variant="all" version="8.8.0-alpha06"> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor FortyFiveDegreeLinearGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Card.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Card.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor FortyFiveDegreeLinearGradient has parameter stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Card.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Card.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable backgroundColors with type List<? extends Color>: replace with LongList" |
| errorLine1=" val backgroundColors: List<Color>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Chip.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable disabledBackgroundColors with type List<? extends Color>: replace with LongList" |
| errorLine1=" val disabledBackgroundColors: List<Color>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Chip.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method setAnchors$compose_material has parameter anchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Float, T> of getAnchors$compose_material: replace with FloatObjectMap" |
| errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ensureInit$compose_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/main/java/androidx/wear/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method processNewAnchors$compose_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/main/java/androidx/wear/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method processNewAnchors$compose_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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/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/main/java/androidx/wear/compose/material/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable checkedBackgroundColors with type List<? extends Color>: replace with LongList" |
| errorLine1=" val checkedBackgroundColors: List<Color>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/ToggleChip.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable disabledCheckedBackgroundColors with type List<? extends Color>: replace with LongList" |
| errorLine1=" val disabledCheckedBackgroundColors: List<Color>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/ToggleChip.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable uncheckedBackgroundColors with type List<? extends Color>: replace with LongList" |
| errorLine1=" val uncheckedBackgroundColors: List<Color>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/ToggleChip.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable disabledUncheckedBackgroundColors with type List<? extends Color>: replace with LongList" |
| errorLine1=" val disabledUncheckedBackgroundColors: List<Color>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/material/ToggleChip.kt"/> |
| </issue> |
| |
| </issues> |