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,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun local" "true"
fun foo() {
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun local(): String?<caret>? = null
}
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo() {
fun local(): String?<caret>? = null
}
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo() {
val a: String?<caret>? = null
}
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for val a" "true"
fun foo() {
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
val a: String?<caret>? = null
}
@@ -2,7 +2,7 @@
class C {
class D {
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
}
}
@@ -1,7 +1,7 @@
// "Suppress 'REDUNDANT_NULLABLE' for class D" "true"
class C {
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
class D {
fun foo(): String?<caret>? = null
}
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for class C" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
class C {
class D {
fun foo(): String?<caret>? = null
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for class C" "true"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
class C {
fun foo(): String?<caret>? = null
}
@@ -1,6 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
class C {
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
}
@@ -1,4 +1,4 @@
// "class com.intellij.codeInspection.SuppressIntentionAction" "false"
@suppress("REDUNDANT_NULLABLE")
@Suppress("REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null