Deprecate some of JVM flag annotations in favor of capitilized themselves
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class A {
|
||||
deprecated("")
|
||||
volatile var field1 = 0
|
||||
Volatile var field1 = 0
|
||||
|
||||
transient var field2 = 1
|
||||
Transient var field2 = 1
|
||||
|
||||
strictfp var field3 = 2.0
|
||||
Strictfp var field3 = 2.0
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
class A {
|
||||
synchronized fun foo() {
|
||||
Synchronized fun foo() {
|
||||
bar()
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ class A {
|
||||
println("p = [$p]")
|
||||
}
|
||||
|
||||
synchronized public fun foo() {
|
||||
Synchronized public fun foo() {
|
||||
foo(calcSomething())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user