Deprecate throws annotation in favor of Throws

This commit is contained in:
Denis Zharkov
2015-09-01 17:34:20 +03:00
parent 9254b1b461
commit 2b76941733
21 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -12,14 +12,14 @@ class X {
return super.toString()
}
throws(CloneNotSupportedException::class)
Throws(CloneNotSupportedException::class)
protected fun clone(): Any {
return super.clone()
}
}
class Y : Thread() {
throws(CloneNotSupportedException::class)
Throws(CloneNotSupportedException::class)
override fun clone(): Any {
return super.clone()
}