diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-10-06 00:15:16 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-10-06 00:15:16 +0200 |
commit | b4d69f5cb8b093718bb7ffb539e5875df52ca48e (patch) | |
tree | 9023f0db973726924ad70aa84f34d7b8f5f4649c | |
parent | e94a5f9ee3e003c6b889168796bc010072177d14 (diff) | |
download | lombok-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.java | 1 | ||||
-rw-r--r-- | test/transform/resource/before/NonNullOnParameterOfDefaultMethod.java | 1 |
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) { |