Cleanup deprecated symbol usages in testData

This commit is contained in:
Ilya Gorbunov
2016-01-16 20:10:40 +03:00
parent eefbd72a64
commit 25c4453dc5
403 changed files with 933 additions and 921 deletions
@@ -5,8 +5,8 @@ class Impl: JavaInterface {
}
fun box(): String {
val fooMethods = javaClass<Impl>().getMethods().filter { it.getName() == "foo" }
if (fooMethods.size() != 1) return fooMethods.toString()
val fooMethods = Impl::class.java.getMethods().filter { it.getName() == "foo" }
if (fooMethods.size != 1) return fooMethods.toString()
return "OK"
}