Enum.values is now deprecated but Enum.values() is no more deprecated

This commit is contained in:
Mikhail Glukhikh
2015-11-23 13:22:57 +03:00
parent 6e733f708e
commit dc60c62781
185 changed files with 433 additions and 433 deletions
@@ -3,16 +3,16 @@ enum class E {
companion object {
fun foo(): E = ENTRY
fun bar(): Array<E> = values
fun bar(): Array<E> = values()
fun baz(): E = valueOf("ENTRY")
val valuez = values
val valuez = values()
}
fun oof(): E = ENTRY
fun rab(): Array<E> = values
fun rab(): Array<E> = values()
fun zab(): E = valueOf("ENTRY")
}
fun foo() = E.ENTRY
fun bar() = E.values
fun bar() = E.values()
fun baz() = E.valueOf("ENTRY")