| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05"> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/android/WindowCapture.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollDelta' with type Function2<? super Float, ? super Float, ? extends Float>." |
| errorLine1=" // Given the desired scroll value to align either side of the target with the" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/Actions.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'genState' with type Function2<? super Key, ? super Integer, ? extends Integer>." |
| errorLine1=" fun genState(key: Key, mask: Int) = if (isKeyDown(key)) mask else 0" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateAlong has parameter 'curve' with type Function1<? super Long, Offset>." |
| errorLine1=" curve: (Long) -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/MouseInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor TestMonotonicFrameClock has parameter 'onPerformTraversals' with type Function1<? super Long, Unit>." |
| errorLine1=" private val onPerformTraversals: (Long) -> Unit = {}" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/jvmMain/kotlin/androidx/compose/ui/test/TestMonotonicFrameClock.jvm.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'toRun' with type List<Function1<? super Long, ? extends Unit>>." |
| errorLine1=" val toRun = synchronized(lock) {" |
| errorLine2=" ^"> |
| <location |
| file="src/jvmMain/kotlin/androidx/compose/ui/test/TestMonotonicFrameClock.jvm.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method swipe has parameter 'curve' with type Function1<? super Long, Offset>." |
| errorLine1=" curve: (Long) -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Long, Offset> of 'generateFunction'." |
| errorLine1=" fun generateFunction(): (Long) -> Offset {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/VelocityPathFinder.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'fx' with type Function1<? super Long, ? extends Float>." |
| errorLine1=" val fx = createFunctionForVelocity(vx, Offset::x)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/VelocityPathFinder.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'fy' with type Function1<? super Long, ? extends Float>." |
| errorLine1=" val fy = createFunctionForVelocity(vy, Offset::y)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/VelocityPathFinder.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method createFunctionForVelocity has parameter 'value' with type Function1<? super Offset, Float>." |
| errorLine1=" value: Offset.() -> Float" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/VelocityPathFinder.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Long, Float> of 'createFunctionForVelocity'." |
| errorLine1=" ): (Long) -> Float {" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/VelocityPathFinder.kt"/> |
| </issue> |
| |
| </issues> |