aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleBuilder.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-26 01:36:40 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-26 01:36:40 +0100
commitf6ad0ecde954a1ad6cd347b30dbec2c56e3fe3d3 (patch)
treea88f326a472c9d2b333e2d8c8aba77f2d44e7bbf /src/core/lombok/eclipse/handlers/HandleBuilder.java
parent320fbfee4dbf17b0e2c467311e0fd062448321c4 (diff)
downloadlombok-f6ad0ecde954a1ad6cd347b30dbec2c56e3fe3d3.tar.gz
lombok-f6ad0ecde954a1ad6cd347b30dbec2c56e3fe3d3.tar.bz2
lombok-f6ad0ecde954a1ad6cd347b30dbec2c56e3fe3d3.zip
[fixes #2050] [fixes #2061] javac would fail to skip generating build() method if it is already there
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleBuilder.java')
-rwxr-xr-xsrc/core/lombok/eclipse/handlers/HandleBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleBuilder.java b/src/core/lombok/eclipse/handlers/HandleBuilder.java
index 3adbc27c..7a831f3d 100755
--- a/src/core/lombok/eclipse/handlers/HandleBuilder.java
+++ b/src/core/lombok/eclipse/handlers/HandleBuilder.java
@@ -170,7 +170,7 @@ public class HandleBuilder extends EclipseAnnotationHandler<Builder> {
List<char[]> typeArgsForToBuilder = null;
if (builderMethodName == null) builderMethodName = "builder";
- if (buildMethodName == null) builderMethodName = "build";
+ if (buildMethodName == null) buildMethodName = "build";
if (builderClassName == null) builderClassName = "";
boolean generateBuilderMethod;