Remove redundant space

This commit is contained in:
Skylot
2013-04-18 23:40:32 +04:00
parent 76feab3f2a
commit c4f2119955
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -135,9 +135,9 @@ public class ClassGen {
}
}
public void makeGenericMap(CodeWriter code, Map<ArgType, List<ArgType>> gmap) {
public boolean makeGenericMap(CodeWriter code, Map<ArgType, List<ArgType>> gmap) {
if (gmap == null || gmap.isEmpty())
return;
return false;
code.add('<');
int i = 0;
@@ -161,6 +161,7 @@ public class ClassGen {
i++;
}
code.add('>');
return true;
}
public void makeClassBody(CodeWriter clsCode) throws CodegenException {
+2 -2
View File
@@ -78,8 +78,8 @@ public class MethodGen {
}
code.startLine(ai.makeString());
classGen.makeGenericMap(code, mth.getGenericMap());
code.add(' ');
if (classGen.makeGenericMap(code, mth.getGenericMap()))
code.add(' ');
if (mth.getAccessFlags().isConstructor()) {
code.add(classGen.getClassNode().getShortName()); // constructor