Remove OI/NI attributes from test data

This commit is contained in:
Denis.Zharkov
2021-05-24 12:42:39 +03:00
committed by teamcityserver
parent 2ecba6ac39
commit ddbdfafa79
441 changed files with 1005 additions and 1037 deletions
@@ -4,34 +4,33 @@
fun test1(s: String?) {
assert(s!!.isEmpty())
s<!UNNECESSARY_SAFE_CALL{NI}!>?.<!>length
s<!UNNECESSARY_SAFE_CALL!>?.<!>length
}
fun test2(s: String?) {
assert(s!!.isEmpty())
s<!UNNECESSARY_NOT_NULL_ASSERTION{NI}!>!!<!>.length
s<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>.length
}
fun test3(s: String?) {
assert(s!!.isEmpty())
<!DEBUG_INFO_SMARTCAST{NI}!>s<!><!UNSAFE_CALL{OI}!>.<!>length
<!DEBUG_INFO_SMARTCAST!>s<!>.length
}
fun test4() {
val s: String? = null;
assert(s!!.isEmpty())
s<!UNNECESSARY_SAFE_CALL{NI}!>?.<!>length
s<!UNNECESSARY_SAFE_CALL!>?.<!>length
}
fun test5() {
val s: String? = null;
assert(s!!.isEmpty())
s<!UNNECESSARY_NOT_NULL_ASSERTION{NI}!>!!<!>.length
s<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>.length
}
fun test6() {
val s: String? = null;
assert(s!!.isEmpty())
<!DEBUG_INFO_SMARTCAST{NI}!>s<!><!UNSAFE_CALL{OI}!>.<!>length
<!DEBUG_INFO_SMARTCAST!>s<!>.length
}