diff --git a/checks/src/main/java/app/pachli/lint/checks/LintRegistry.kt b/checks/src/main/java/app/pachli/lint/checks/LintRegistry.kt index 18823dc51..d365ab7d4 100644 --- a/checks/src/main/java/app/pachli/lint/checks/LintRegistry.kt +++ b/checks/src/main/java/app/pachli/lint/checks/LintRegistry.kt @@ -5,7 +5,6 @@ import com.android.tools.lint.client.api.Vendor import com.android.tools.lint.detector.api.CURRENT_API import com.android.tools.lint.detector.api.Issue -@Suppress("UnstableApiUsage") class LintRegistry : IssueRegistry() { override val issues: List get() = listOf( diff --git a/core/activity/src/orange/kotlin/app/pachli/core/activity/RingBuffer.kt b/core/activity/src/orange/kotlin/app/pachli/core/activity/RingBuffer.kt index f3c3266de..5f6de7c3c 100644 --- a/core/activity/src/orange/kotlin/app/pachli/core/activity/RingBuffer.kt +++ b/core/activity/src/orange/kotlin/app/pachli/core/activity/RingBuffer.kt @@ -51,7 +51,6 @@ class RingBuffer(private val capacity: Int) : Iterable { } as T /** Buffer as a list. */ - @Suppress("UNCHECKED_CAST") fun toList(): List = iterator().asSequence().toList() override fun iterator(): Iterator = object : Iterator {