mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 20:17:25 +00:00
delombok now prints a space in between method type args and return type.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user