remove TODO from ArrayType.toKotlin()
This commit is contained in:
@@ -15,9 +15,8 @@ public class ArrayType extends Type {
|
|||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public String toKotlin() {
|
public String toKotlin() {
|
||||||
String nullable = isNullableStr();
|
|
||||||
if (PRIMITIVE_TYPES.contains(myType.toKotlin().toLowerCase()))
|
if (PRIMITIVE_TYPES.contains(myType.toKotlin().toLowerCase()))
|
||||||
return myType.toKotlin() + "Array" + nullable; // TODO
|
return myType.toKotlin() + "Array" + isNullableStr(); // returns IntArray, BooleanArray, etc.
|
||||||
return "Array" + "<" + myType.toKotlin() + ">" + nullable;
|
return "Array" + "<" + myType.toKotlin() + ">" + isNullableStr();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user