KT-20120 fixing bug for Java 9 Deprecated

Unconditionally changing it to @Deprecated("") in kotlin
This commit is contained in:
Alex Chmyr
2020-01-02 17:44:46 +00:00
committed by Ilya Kirillov
parent ba4163ba02
commit 16c82030a3
4 changed files with 35 additions and 5 deletions
+7
View File
@@ -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() {}
}
+21
View File
@@ -0,0 +1,21 @@
class Deprecation {
@Deprecated("")
fun deprecate00() {
}
@Deprecated("")
fun deprecate10() {
}
@Deprecated("")
fun deprecate20() {
}
@Deprecated("")
fun deprecate01() {
}
@Deprecated("")
fun deprecate21() {
}
}