KT-20120 fixing bug for Java 9 Deprecated
Unconditionally changing it to @Deprecated("") in kotlin
This commit is contained in:
committed by
Ilya Kirillov
parent
ba4163ba02
commit
16c82030a3
@@ -0,0 +1,7 @@
|
||||
public class Deprecation {
|
||||
@Deprecated() public void deprecate00() {}
|
||||
@Deprecated(forRemoval = false) public void deprecate10() {}
|
||||
@Deprecated(forRemoval = true) public void deprecate20() {}
|
||||
@Deprecated(since = "2.0") public void deprecate01() {}
|
||||
@Deprecated(forRemoval = true, since = "2.0") public void deprecate21() {}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
class Deprecation {
|
||||
@Deprecated("")
|
||||
fun deprecate00() {
|
||||
}
|
||||
|
||||
@Deprecated("")
|
||||
fun deprecate10() {
|
||||
}
|
||||
|
||||
@Deprecated("")
|
||||
fun deprecate20() {
|
||||
}
|
||||
|
||||
@Deprecated("")
|
||||
fun deprecate01() {
|
||||
}
|
||||
|
||||
@Deprecated("")
|
||||
fun deprecate21() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user