aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorBulgakov Alexander <abulgakov@at-consulting.ru>2016-11-12 23:04:48 +0300
committerBulgakov Alexander <abulgakov@at-consulting.ru>2016-11-12 23:04:48 +0300
commit69eeb9edc767bb3ceb0320bb5a0ea60dfabe827c (patch)
treee579423fe8ae7b5a961b0e643703a45dd167e36b /test/transform/resource/after-ecj
parent67371e5841e1dd8ed5d663f1c907da0952976b8f (diff)
downloadlombok-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.java5
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() {