Deprecate deprecated in favor of Deprecated
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package dependency
|
||||
|
||||
@deprecated("", ReplaceWith("dependency.NewAnnotation"))
|
||||
@Deprecated("", ReplaceWith("dependency.NewAnnotation"))
|
||||
annotation class OldAnnotation(val p: Int = 0)
|
||||
|
||||
annotation class NewAnnotation(val p: Int = 0, val newP: String = "")
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package dependency
|
||||
|
||||
@deprecated("", ReplaceWith("dependency.NewAnnotation"))
|
||||
@Deprecated("", ReplaceWith("dependency.NewAnnotation"))
|
||||
annotation class OldAnnotation(val p: Int = 0)
|
||||
|
||||
annotation class NewAnnotation(val p: Int = 0, val newP: String = "")
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
package ppp
|
||||
|
||||
@deprecated("", ReplaceWith("NewClass"))
|
||||
@Deprecated("", ReplaceWith("NewClass"))
|
||||
open class OldClass(val p: Int) {
|
||||
constructor() : this(0)
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
package ppp
|
||||
|
||||
@deprecated("", ReplaceWith("NewClass"))
|
||||
@Deprecated("", ReplaceWith("NewClass"))
|
||||
open class OldClass(val p: Int) {
|
||||
constructor() : this(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user