diff options
author | Christian Sterzl <christian.sterzl@gmail.com> | 2014-04-03 12:25:00 +0200 |
---|---|---|
committer | Christian Sterzl <christian.sterzl@gmail.com> | 2014-04-03 12:25:00 +0200 |
commit | bb9783fcec4cab60b9c14ca5eb012c8c38d6b445 (patch) | |
tree | 0011135b9fdda426b829acac09fe134ad127fc39 /src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java | |
parent | 9327a71b1dbdded9e36e84200d8f6866fd3400bf (diff) | |
download | lombok-bb9783fcec4cab60b9c14ca5eb012c8c38d6b445.tar.gz lombok-bb9783fcec4cab60b9c14ca5eb012c8c38d6b445.tar.bz2 lombok-bb9783fcec4cab60b9c14ca5eb012c8c38d6b445.zip |
Fixing possible NPE
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java index e62b0555..d267a29a 100644 --- a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java +++ b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java @@ -118,7 +118,7 @@ public class HandleEqualsAndHashCode extends JavacAnnotationHandler<EqualsAndHas return; } - generateMethods(typeNode, source, null, null, null, false, FieldAccess.GETTER, null); + generateMethods(typeNode, source, null, null, null, false, FieldAccess.GETTER, List.<JCAnnotation>nil()); } public void generateMethods(JavacNode typeNode, JavacNode source, List<String> excludes, List<String> includes, |