J2K: all annotations should be with "@"
This commit is contained in:
@@ -11,7 +11,7 @@ internal class Test : Base() {
|
||||
return super.equals(o)
|
||||
}
|
||||
|
||||
Throws(CloneNotSupportedException::class)
|
||||
@Throws(CloneNotSupportedException::class)
|
||||
override fun clone(): Any {
|
||||
return super.clone()
|
||||
}
|
||||
@@ -20,7 +20,7 @@ internal class Test : Base() {
|
||||
return super.toString()
|
||||
}
|
||||
|
||||
Throws(Throwable::class)
|
||||
@Throws(Throwable::class)
|
||||
override fun finalize() {
|
||||
super.finalize()
|
||||
}
|
||||
@@ -35,7 +35,7 @@ internal open class Base {
|
||||
return super.equals(o)
|
||||
}
|
||||
|
||||
Throws(CloneNotSupportedException::class)
|
||||
@Throws(CloneNotSupportedException::class)
|
||||
protected open fun clone(): Any {
|
||||
return super.clone()
|
||||
}
|
||||
@@ -44,7 +44,7 @@ internal open class Base {
|
||||
return super.toString()
|
||||
}
|
||||
|
||||
Throws(Throwable::class)
|
||||
@Throws(Throwable::class)
|
||||
protected open fun finalize() {
|
||||
super.finalize()
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
JvmStatic fun main(args: Array<String>) {
|
||||
@JvmStatic fun main(args: Array<String>) {
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
object A {
|
||||
JvmStatic fun main(args: Array<String>) {
|
||||
@JvmStatic fun main(args: Array<String>) {
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
// !forceNotNullTypes: false
|
||||
object A {
|
||||
JvmStatic fun main(args: Array<String>) {
|
||||
@JvmStatic fun main(args: Array<String>) {
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -12,14 +12,14 @@ internal class X {
|
||||
return super.toString()
|
||||
}
|
||||
|
||||
Throws(CloneNotSupportedException::class)
|
||||
@Throws(CloneNotSupportedException::class)
|
||||
protected fun clone(): Any {
|
||||
return super.clone()
|
||||
}
|
||||
}
|
||||
|
||||
internal class Y : Thread() {
|
||||
Throws(CloneNotSupportedException::class)
|
||||
@Throws(CloneNotSupportedException::class)
|
||||
override fun clone(): Any {
|
||||
return super.clone()
|
||||
}
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ internal class X : Base() {
|
||||
return super.toString()
|
||||
}
|
||||
|
||||
Throws(CloneNotSupportedException::class)
|
||||
@Throws(CloneNotSupportedException::class)
|
||||
protected fun clone(): Any {
|
||||
return super.clone()
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
internal class A {
|
||||
Synchronized internal fun foo() {
|
||||
@Synchronized internal fun foo() {
|
||||
bar()
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
Throws(IOException::class, SerializationException::class)
|
||||
@Throws(IOException::class, SerializationException::class)
|
||||
internal fun foo()
|
||||
Reference in New Issue
Block a user