remove TODO from ArrayType.toKotlin()

This commit is contained in:
Sergey Ignatov
2011-11-15 16:51:43 +04:00
parent d45e69b538
commit 58176f2361
+2 -3
View File
@@ -15,9 +15,8 @@ public class ArrayType extends Type {
@NotNull
@Override
public String toKotlin() {
String nullable = isNullableStr();
if (PRIMITIVE_TYPES.contains(myType.toKotlin().toLowerCase()))
return myType.toKotlin() + "Array" + nullable; // TODO
return "Array" + "<" + myType.toKotlin() + ">" + nullable;
return myType.toKotlin() + "Array" + isNullableStr(); // returns IntArray, BooleanArray, etc.
return "Array" + "<" + myType.toKotlin() + ">" + isNullableStr();
}
}