aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-02-16 23:32:39 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-02-16 23:45:27 +0100
commit06ddfd4e656255dadaf4a47c9070e3765ea57d8e (patch)
tree023b67fbe8a96693407d2ec2cd55301b0194cdb2 /src/core/lombok
parent8ec7abf996ba1089104f5d56cc417b17dcadca5f (diff)
downloadlombok-06ddfd4e656255dadaf4a47c9070e3765ea57d8e.tar.gz
lombok-06ddfd4e656255dadaf4a47c9070e3765ea57d8e.tar.bz2
lombok-06ddfd4e656255dadaf4a47c9070e3765ea57d8e.zip
A stray debug variant of an error message left in the source.
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/javac/handlers/HandleBuilder.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/lombok/javac/handlers/HandleBuilder.java b/src/core/lombok/javac/handlers/HandleBuilder.java
index 8588fc16..d37e1f79 100644
--- a/src/core/lombok/javac/handlers/HandleBuilder.java
+++ b/src/core/lombok/javac/handlers/HandleBuilder.java
@@ -270,8 +270,7 @@ public class HandleBuilder extends JavacAnnotationHandler<Builder> {
}
if (pos == -1 || tpOnType.size() <= pos) {
- annotationNode.addError("**" + returnType.getClass().toString());
-// annotationNode.addError("@Builder(toBuilder=true) requires that each type parameter on the static method is part of the typeargs of the return value. Type parameter " + tp.name + " is not part of the return type.");
+ annotationNode.addError("@Builder(toBuilder=true) requires that each type parameter on the static method is part of the typeargs of the return value. Type parameter " + tp.name + " is not part of the return type.");
return;
}
typeArgsForToBuilder.add(tpOnType.get(pos).name);