aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-10-06 00:15:16 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-10-06 00:15:16 +0200
commitb4d69f5cb8b093718bb7ffb539e5875df52ca48e (patch)
tree9023f0db973726924ad70aa84f34d7b8f5f4649c
parente94a5f9ee3e003c6b889168796bc010072177d14 (diff)
downloadlombok-b4d69f5cb8b093718bb7ffb539e5875df52ca48e.tar.gz
lombok-b4d69f5cb8b093718bb7ffb539e5875df52ca48e.tar.bz2
lombok-b4d69f5cb8b093718bb7ffb539e5875df52ca48e.zip
Belated addendum to previous commit: The tests for `@NonNull` on parameters of default methods should be restricted to java8+
-rw-r--r--test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java1
-rw-r--r--test/transform/resource/before/NonNullOnParameterOfDefaultMethod.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java b/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java
index cffff320..e220296f 100644
--- a/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java
+++ b/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java
@@ -1,3 +1,4 @@
+// version 8:
interface NonNullOnParameterOfDefaultMethod {
void test(@lombok.NonNull String arg);
default void test2(@lombok.NonNull String arg) {
diff --git a/test/transform/resource/before/NonNullOnParameterOfDefaultMethod.java b/test/transform/resource/before/NonNullOnParameterOfDefaultMethod.java
index 3b35e90e..ab343ef0 100644
--- a/test/transform/resource/before/NonNullOnParameterOfDefaultMethod.java
+++ b/test/transform/resource/before/NonNullOnParameterOfDefaultMethod.java
@@ -1,3 +1,4 @@
+// version 8:
interface NonNullOnParameterOfDefaultMethod {
void test(@lombok.NonNull String arg);
default void test2(@lombok.NonNull String arg) {