change: Remove obsolete @Suppress annotations
This commit is contained in:
parent
1f50a9cbe7
commit
56b0505955
|
@ -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(
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue