Remove redundant space
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user