aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-ecj/VarNullInit.java4
-rw-r--r--test/transform/resource/before/VarComplex.java1
-rw-r--r--test/transform/resource/before/VarInFor.java1
-rw-r--r--test/transform/resource/before/VarInForOld.java1
-rw-r--r--test/transform/resource/before/VarModifier.java1
-rw-r--r--test/transform/resource/before/VarNullInit.java1
6 files changed, 7 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/VarNullInit.java b/test/transform/resource/after-ecj/VarNullInit.java
index 966afdc9..ba8c3e46 100644
--- a/test/transform/resource/after-ecj/VarNullInit.java
+++ b/test/transform/resource/after-ecj/VarNullInit.java
@@ -1,10 +1,10 @@
import lombok.experimental.var;
class VarNullInit {
- ValNullInit() {
+ VarNullInit() {
super();
}
void method() {
- final @var java.lang.Object x = null;
+ @var java.lang.Object x = null;
}
} \ No newline at end of file
diff --git a/test/transform/resource/before/VarComplex.java b/test/transform/resource/before/VarComplex.java
index a30492ac..bfaa8804 100644
--- a/test/transform/resource/before/VarComplex.java
+++ b/test/transform/resource/before/VarComplex.java
@@ -1,3 +1,4 @@
+//CONF: lombok.var.flagUsage = ALLOW
import lombok.experimental.var;
public class VarComplex {
diff --git a/test/transform/resource/before/VarInFor.java b/test/transform/resource/before/VarInFor.java
index ed22edc3..cc8c387e 100644
--- a/test/transform/resource/before/VarInFor.java
+++ b/test/transform/resource/before/VarInFor.java
@@ -1,3 +1,4 @@
+//CONF: lombok.var.flagUsage = ALLOW
import lombok.experimental.var;
public class VarInFor {
diff --git a/test/transform/resource/before/VarInForOld.java b/test/transform/resource/before/VarInForOld.java
index 3000f58c..f90aba7f 100644
--- a/test/transform/resource/before/VarInForOld.java
+++ b/test/transform/resource/before/VarInForOld.java
@@ -1,3 +1,4 @@
+//CONF: lombok.var.flagUsage = ALLOW
import lombok.experimental.var;
public class VarInForOld {
diff --git a/test/transform/resource/before/VarModifier.java b/test/transform/resource/before/VarModifier.java
index 5c68caa7..7250c1c5 100644
--- a/test/transform/resource/before/VarModifier.java
+++ b/test/transform/resource/before/VarModifier.java
@@ -1,3 +1,4 @@
+//CONF: lombok.var.flagUsage = ALLOW
import lombok.experimental.var;
public class VarModifier {
diff --git a/test/transform/resource/before/VarNullInit.java b/test/transform/resource/before/VarNullInit.java
index 14d7b4a3..f7f9c55b 100644
--- a/test/transform/resource/before/VarNullInit.java
+++ b/test/transform/resource/before/VarNullInit.java
@@ -1,3 +1,4 @@
+//CONF: lombok.var.flagUsage = ALLOW
import lombok.experimental.var;
class VarNullInit {