delombok now prints a space in between method type args and return type.

This commit is contained in:
Reinier Zwitserloot committed 2012-03-26 23:48:46 +02:00
1 parent 7569969e25
commit 7ddafc0fe5
2 files changed
+2 -1

No files matched your search

@@ -759,6 +759,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
printDocComment(tree);
printExpr(tree.mods);
printTypeParameters(tree.typarams);
if (tree.typarams != null && tree.typarams.length() > 0) print(" ");
if (tree.name == tree.name.table.fromChars("<init>".toCharArray(), 0, 6)) {
print(enclClassName != null ? enclClassName : tree.name);
} else {
@@ -23,7 +23,7 @@ public class ValWeirdTypes<Z> {
}
};
}
public <T extends Number>void testTypeParams(List<T> param) {
public <T extends Number> void testTypeParams(List<T> param) {
final T t = param.get(0);
final Z z = fieldList.get(0);
final java.util.List<T> k = param;