aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/core/src/lombok/AbstractRunTests.java2
-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/VarInForOldMulti.java1
-rw-r--r--test/transform/resource/before/VarModifier.java1
-rw-r--r--test/transform/resource/before/VarNullInit.java1
-rw-r--r--test/transform/resource/before/VarWarning.java1
8 files changed, 8 insertions, 1 deletions
diff --git a/test/core/src/lombok/AbstractRunTests.java b/test/core/src/lombok/AbstractRunTests.java
index f93fbe27..fc05aea2 100644
--- a/test/core/src/lombok/AbstractRunTests.java
+++ b/test/core/src/lombok/AbstractRunTests.java
@@ -197,7 +197,7 @@ public abstract class AbstractRunTests {
}
}
- @SuppressWarnings("null") /* eclipse bug; it falsely thinks stuffAc will always be null or some such hogwash. */
+ @SuppressWarnings("null") /* eclipse bug workaround; it falsely thinks stuffAc will always be null. */
private static void compareMessages(String name, LombokImmutableList<CompilerMessageMatcher> expected, LinkedHashSet<CompilerMessage> actual) {
Iterator<CompilerMessageMatcher> expectedIterator = expected.iterator();
Iterator<CompilerMessage> actualIterator = actual.iterator();
diff --git a/test/transform/resource/before/VarComplex.java b/test/transform/resource/before/VarComplex.java
index c93e177a..0f2afb2a 100644
--- a/test/transform/resource/before/VarComplex.java
+++ b/test/transform/resource/before/VarComplex.java
@@ -1,3 +1,4 @@
+//version :9
import lombok.var;
public class VarComplex {
diff --git a/test/transform/resource/before/VarInFor.java b/test/transform/resource/before/VarInFor.java
index 7f7bb7a7..0c54921e 100644
--- a/test/transform/resource/before/VarInFor.java
+++ b/test/transform/resource/before/VarInFor.java
@@ -1,3 +1,4 @@
+//version :9
import lombok.var;
public class VarInFor {
diff --git a/test/transform/resource/before/VarInForOld.java b/test/transform/resource/before/VarInForOld.java
index 99e83b57..a6e1333d 100644
--- a/test/transform/resource/before/VarInForOld.java
+++ b/test/transform/resource/before/VarInForOld.java
@@ -1,3 +1,4 @@
+//version :9
import lombok.var;
public class VarInForOld {
diff --git a/test/transform/resource/before/VarInForOldMulti.java b/test/transform/resource/before/VarInForOldMulti.java
index e2ea9682..417076d0 100644
--- a/test/transform/resource/before/VarInForOldMulti.java
+++ b/test/transform/resource/before/VarInForOldMulti.java
@@ -1,3 +1,4 @@
+//version :9
//skip compare contents
import lombok.var;
diff --git a/test/transform/resource/before/VarModifier.java b/test/transform/resource/before/VarModifier.java
index 5c68caa7..22d8f2ad 100644
--- a/test/transform/resource/before/VarModifier.java
+++ b/test/transform/resource/before/VarModifier.java
@@ -1,3 +1,4 @@
+//version :9
import lombok.experimental.var;
public class VarModifier {
diff --git a/test/transform/resource/before/VarNullInit.java b/test/transform/resource/before/VarNullInit.java
index f9bb53a3..08eb4dda 100644
--- a/test/transform/resource/before/VarNullInit.java
+++ b/test/transform/resource/before/VarNullInit.java
@@ -1,3 +1,4 @@
+//version :9
import lombok.var;
public class VarNullInit {
diff --git a/test/transform/resource/before/VarWarning.java b/test/transform/resource/before/VarWarning.java
index 90464d30..47b7ad3c 100644
--- a/test/transform/resource/before/VarWarning.java
+++ b/test/transform/resource/before/VarWarning.java
@@ -1,3 +1,4 @@
+//version :9
//CONF: lombok.var.flagUsage = WARNING
import lombok.var;