Deprecate deprecated in favor of Deprecated

This commit is contained in:
Denis Zharkov
2015-09-01 19:59:19 +03:00
parent 952d45dc8b
commit 31244edec9
444 changed files with 686 additions and 688 deletions
+3 -3
View File
@@ -6,8 +6,8 @@ import org.junit.Test as test
annotation(retention = AnnotationRetention.RUNTIME) class MyAnno
MyAnno
Deprecated
@MyAnno
@java.lang.Deprecated
class AnnotatedClass
@@ -22,7 +22,7 @@ class AnnotationTest {
val clazz = annotation!!.annotationType()
when {
clazz == javaClass<MyAnno>() -> foundMyAnno = true
clazz == javaClass<Deprecated>() -> foundDeprecated = true
clazz == javaClass<java.lang.Deprecated>() -> foundDeprecated = true
else -> {}
}
}