formatting

This commit is contained in:
Martin Lippert
2021-11-29 16:00:39 +01:00
parent f7ae79f46d
commit ef71fd164d
2 changed files with 9 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ public class Type implements YType {
} else if (javaType instanceof IArrayType) {
IArrayType arrayType = (IArrayType) javaType;
Type elementType = fromJavaType(arrayType.component());
if (elementType!=null) {
if (elementType != null) {
return elementType.asArray(arrayType.dimensions());
}
}
@@ -149,7 +149,7 @@ public class Type implements YType {
}
public Type asArray(int arrayCount) {
Assert.isLegal(arrayCount>0);
Assert.isLegal(arrayCount > 0);
StringBuilder arrayErasure = new StringBuilder(erasure);
for (int i = 0; i < arrayCount; i++) {
arrayErasure.append("[]");