Deprecate throws annotation in favor of Throws
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ package test
|
||||
class E1: Exception()
|
||||
|
||||
interface Base<T> {
|
||||
throws(E1::class)
|
||||
@Throws(E1::class)
|
||||
fun one(t: T) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user