aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleBuilder.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2020-06-18 22:08:25 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-06-18 22:08:25 +0200
commit39d2c280fbaced63f5697481af6b37ab81891798 (patch)
tree148dd9e4b3798e78b59105b2a5535b396c723aec /src/core/lombok/eclipse/handlers/HandleBuilder.java
parentc4db4e124c5081602802f88b7ebe564c8af3aac8 (diff)
downloadlombok-39d2c280fbaced63f5697481af6b37ab81891798.tar.gz
lombok-39d2c280fbaced63f5697481af6b37ab81891798.tar.bz2
lombok-39d2c280fbaced63f5697481af6b37ab81891798.zip
Fixes #1543: in equals, by default first compare the primitives
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 b8e88522..f848469f 100755
--- a/src/core/lombok/eclipse/handlers/HandleBuilder.java
+++ b/src/core/lombok/eclipse/handlers/HandleBuilder.java
@@ -485,7 +485,7 @@ public class HandleBuilder extends EclipseAnnotationHandler<Builder> {
List<Included<EclipseNode, ToString.Include>> fieldNodes = new ArrayList<Included<EclipseNode, ToString.Include>>();
for (BuilderFieldData bfd : builderFields) {
for (EclipseNode f : bfd.createdFields) {
- fieldNodes.add(new Included<EclipseNode, ToString.Include>(f, null, true));
+ fieldNodes.add(new Included<EclipseNode, ToString.Include>(f, null, true, false));
}
}
MethodDeclaration md = HandleToString.createToString(builderType, fieldNodes, true, false, ast, FieldAccess.ALWAYS_FIELD);