提交 c4f21199 编写于 作者: S Skylot

Remove redundant space

上级 76feab3f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册