diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-02-16 23:32:39 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-02-16 23:45:27 +0100 |
commit | 06ddfd4e656255dadaf4a47c9070e3765ea57d8e (patch) | |
tree | 023b67fbe8a96693407d2ec2cd55301b0194cdb2 /src/core/lombok/javac/handlers | |
parent | 8ec7abf996ba1089104f5d56cc417b17dcadca5f (diff) | |
download | lombok-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/javac/handlers')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleBuilder.java | 3 |
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); |