Deprecate suppress annotation in favor of Suppress

This commit is contained in:
Denis Zharkov
2015-09-01 16:32:43 +03:00
parent 11fed1674e
commit bbc192fda5
140 changed files with 152 additions and 153 deletions
@@ -1,3 +1,3 @@
// "Suppress 'REDUNDANT_NULLABLE' for parameter p" "true"
fun foo(@suppress("REDUNDANT_NULLABLE") vararg p: String?<caret>?) = null
fun foo(@Suppress("REDUNDANT_NULLABLE") vararg p: String?<caret>?) = null
@@ -1,5 +1,5 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
public
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
public fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("FOO")
@Suppress("FOO")
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("FOO", "REDUNDANT_NULLABLE")
@Suppress("FOO", "REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress()
@Suppress()
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress
@Suppress
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
suppress
@Suppress
fun foo(): String?<caret>? = null
@@ -1,4 +1,4 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
@@ -1,3 +1,3 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress fun foo(): String?<caret>? = null
@Suppress fun foo(): String?<caret>? = null
@@ -1,3 +1,3 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE") fun foo(): String?<caret>? = null
@Suppress("REDUNDANT_NULLABLE") fun foo(): String?<caret>? = null
@@ -1,3 +1,3 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
suppress fun foo(): String?<caret>? = null
@Suppress fun foo(): String?<caret>? = null
@@ -1,3 +1,3 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
suppress("REDUNDANT_NULLABLE") fun foo(): String?<caret>? = null
@Suppress("REDUNDANT_NULLABLE") fun foo(): String?<caret>? = null
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
@ann fun foo(): String?<caret>? = null
annotation class ann
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
ann fun foo(): String?<caret>? = null
annotation class ann