diff options
author | Bulgakov Alexander <abulgakov@at-consulting.ru> | 2016-11-12 23:04:48 +0300 |
---|---|---|
committer | Bulgakov Alexander <abulgakov@at-consulting.ru> | 2016-11-12 23:04:48 +0300 |
commit | 69eeb9edc767bb3ceb0320bb5a0ea60dfabe827c (patch) | |
tree | e579423fe8ae7b5a961b0e643703a45dd167e36b /test/transform/resource/after-ecj | |
parent | 67371e5841e1dd8ed5d663f1c907da0952976b8f (diff) | |
download | lombok-69eeb9edc767bb3ceb0320bb5a0ea60dfabe827c.tar.gz lombok-69eeb9edc767bb3ceb0320bb5a0ea60dfabe827c.tar.bz2 lombok-69eeb9edc767bb3ceb0320bb5a0ea60dfabe827c.zip |
a initialization of variable like "var o = null;" will throw the compile time error "variable initializer is 'null'"
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/VarNullInit.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/transform/resource/after-ecj/VarNullInit.java b/test/transform/resource/after-ecj/VarNullInit.java index ba8c3e46..3eb2d506 100644 --- a/test/transform/resource/after-ecj/VarNullInit.java +++ b/test/transform/resource/after-ecj/VarNullInit.java @@ -1,7 +1,6 @@ import lombok.experimental.var; - -class VarNullInit { - VarNullInit() { +public class VarNullInit { + public VarNullInit() { super(); } void method() { |