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.CURRENT_API
|
||||||
import com.android.tools.lint.detector.api.Issue
|
import com.android.tools.lint.detector.api.Issue
|
||||||
|
|
||||||
@Suppress("UnstableApiUsage")
|
|
||||||
class LintRegistry : IssueRegistry() {
|
class LintRegistry : IssueRegistry() {
|
||||||
override val issues: List<Issue>
|
override val issues: List<Issue>
|
||||||
get() = listOf(
|
get() = listOf(
|
||||||
|
|
|
@ -51,7 +51,6 @@ class RingBuffer<T>(private val capacity: Int) : Iterable<T> {
|
||||||
} as T
|
} as T
|
||||||
|
|
||||||
/** Buffer as a list. */
|
/** Buffer as a list. */
|
||||||
@Suppress("UNCHECKED_CAST")
|
|
||||||
fun toList(): List<T> = iterator().asSequence().toList()
|
fun toList(): List<T> = iterator().asSequence().toList()
|
||||||
|
|
||||||
override fun iterator(): Iterator<T> = object : Iterator<T> {
|
override fun iterator(): Iterator<T> = object : Iterator<T> {
|
||||||
|
|
Loading…
Reference in New Issue