J2K: all annotations should be with "@"

This commit is contained in:
Valentin Kipyatkov
2015-09-15 12:47:08 +03:00
parent cc4aa6ed21
commit 7caccd7578
71 changed files with 129 additions and 129 deletions
@@ -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
View File
@@ -1,2 +1,2 @@
JvmStatic fun main(args: Array<String>) {
@JvmStatic fun main(args: Array<String>) {
}
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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 -1
View File
@@ -1,5 +1,5 @@
internal class A {
Synchronized internal fun foo() {
@Synchronized internal fun foo() {
bar()
}
+1 -1
View File
@@ -1,2 +1,2 @@
Throws(IOException::class, SerializationException::class)
@Throws(IOException::class, SerializationException::class)
internal fun foo()