aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2018-05-31 16:32:14 +0200
committerJan Rieke <rieke@subshell.com>2018-05-31 16:32:14 +0200
commit7bd60ea6e68699b9b75f6fb4ce8c68abfa69f5de (patch)
tree41c008afe094669117540f251d4456a564306498 /src
parent4735f99d2856068d18292532eace281b3efe809b (diff)
downloadlombok-7bd60ea6e68699b9b75f6fb4ce8c68abfa69f5de.tar.gz
lombok-7bd60ea6e68699b9b75f6fb4ce8c68abfa69f5de.tar.bz2
lombok-7bd60ea6e68699b9b75f6fb4ce8c68abfa69f5de.zip
second generics test case
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleSuperBuilder.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java b/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java
index d452261a..d4441831 100644
--- a/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java
+++ b/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java
@@ -141,7 +141,6 @@ public class HandleSuperBuilder extends EclipseAnnotationHandler<SuperBuilder> {
java.util.List<BuilderFieldData> builderFields = new ArrayList<BuilderFieldData>();
TypeReference returnType;
TypeParameter[] typeParams;
- TypeParameter[] superclassTypeParams = new TypeParameter[] {}; //TODO
boolean addCleaning = false;
@@ -267,7 +266,7 @@ public class HandleSuperBuilder extends EclipseAnnotationHandler<SuperBuilder> {
EclipseNode builderType = findInnerClass(tdParent, builderClassName);
if (builderType == null) {
builderType = generateBuilderAbstractClass(tdParent, builderClassName, superclassBuilderClass,
- typeParams, superclassTypeParams, ast, classGenericName, builderGenericName);
+ typeParams, ast, classGenericName, builderGenericName);
} else {
annotationNode.addError("@SuperBuilder does not support customized builders. Use @Builder instead.");
@@ -360,7 +359,7 @@ public class HandleSuperBuilder extends EclipseAnnotationHandler<SuperBuilder> {
private EclipseNode generateBuilderAbstractClass(EclipseNode tdParent, String builderClass,
TypeReference superclassBuilderClass, TypeParameter[] typeParams,
- TypeParameter[] superclassTypeParams, ASTNode source, String classGenericName, String builderGenericName) {
+ ASTNode source, String classGenericName, String builderGenericName) {
TypeDeclaration parent = (TypeDeclaration) tdParent.get();
TypeDeclaration builder = new TypeDeclaration(parent.compilationResult);