diff options
author | Kevin Chirls <kchirls@users.noreply.github.com> | 2017-03-15 10:09:04 -0700 |
---|---|---|
committer | Kevin Chirls <kchirls@users.noreply.github.com> | 2017-03-15 10:09:04 -0700 |
commit | 78e526690c22f1c5a1c93705076229ff32284741 (patch) | |
tree | 78c779216126421a818285755e907e44c70a0ef5 /src/core/lombok/eclipse/handlers | |
parent | d146f362682654afd1a01c477836e72eadbd9e42 (diff) | |
download | lombok-78e526690c22f1c5a1c93705076229ff32284741.tar.gz lombok-78e526690c22f1c5a1c93705076229ff32284741.tar.bz2 lombok-78e526690c22f1c5a1c93705076229ff32284741.zip |
Updates for pull request #1284. Fix for issues #869 and #1018.
Added name to AUTHORS file. Added ECJ fix and test. Made one of the
variables final to also verify the final error case.
Diffstat (limited to 'src/core/lombok/eclipse/handlers')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleConstructor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleConstructor.java b/src/core/lombok/eclipse/handlers/HandleConstructor.java index 49b09231..072b6dd5 100644 --- a/src/core/lombok/eclipse/handlers/HandleConstructor.java +++ b/src/core/lombok/eclipse/handlers/HandleConstructor.java @@ -347,7 +347,7 @@ public class HandleConstructor { Annotation[] nonNulls = findAnnotations(field, NON_NULL_PATTERN); Annotation[] nullables = findAnnotations(field, NULLABLE_PATTERN); if (nonNulls.length != 0) { - Statement nullCheck = generateNullCheck(field, sourceNode); + Statement nullCheck = generateNullCheck(parameter, sourceNode); if (nullCheck != null) nullChecks.add(nullCheck); } parameter.annotations = copyAnnotations(source, nonNulls, nullables); |