change: Remove obsolete @Suppress annotations

This commit is contained in:
Nik Clayton 2024-04-30 16:08:27 +02:00
parent 1f50a9cbe7
commit 56b0505955
2 changed files with 0 additions and 2 deletions

View File

@ -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<Issue>
get() = listOf(

View File

@ -51,7 +51,6 @@ class RingBuffer<T>(private val capacity: Int) : Iterable<T> {
} as T
/** Buffer as a list. */
@Suppress("UNCHECKED_CAST")
fun toList(): List<T> = iterator().asSequence().toList()
override fun iterator(): Iterator<T> = object : Iterator<T> {