rename error

This commit is contained in:
Svetlana Isakova
2012-09-07 18:23:11 +04:00
parent 1dfe212844
commit cd5521d6dc
15 changed files with 29 additions and 29 deletions
@@ -2,13 +2,13 @@
import java.util.ArrayList
abstract class Item(val room: <!CLASS_HAS_KOTLIN_ANALOG!>Object<!>) {
abstract class Item(val room: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>Object<!>) {
abstract val name : String
}
val items: ArrayList<Item> = ArrayList<Item>()
fun test(room : <!CLASS_HAS_KOTLIN_ANALOG!>Object<!>) {
fun test(room : <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>Object<!>) {
for(val item: Item? in items) {
if (item?.room === room) {
System.out.println("You see " + item?.name)