Fix deprecations in testData: BlackBoxWithStdLibCodegenTest

This commit is contained in:
Ilya Gorbunov
2015-09-15 18:28:32 +03:00
parent 74e1dbff76
commit 9c974b6c5c
36 changed files with 109 additions and 109 deletions
@@ -11,7 +11,7 @@ class ClassWithGenericSuperInterface: java.util.Comparator<String> {
fun check(klass: Class<*>) {
val interfaces = klass.getInterfaces().toList()
val genericInterfaces = klass.getGenericInterfaces().toList()
if (interfaces.size != genericInterfaces.size) {
if (interfaces.size() != genericInterfaces.size()) {
throw AssertionError("interfaces=$interfaces, genericInterfaces=$genericInterfaces")
}
}