diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-01-07 23:52:36 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-01-07 23:52:36 +0100 |
commit | 0072efc4d683611e7bb1d76f27912056ee8b8326 (patch) | |
tree | 1982ee9fe652f5462912e368a191b4a95be4d2f3 /test | |
parent | 3fc7ac620743b7705a4c8d3e6d59b38257062e08 (diff) | |
download | lombok-0072efc4d683611e7bb1d76f27912056ee8b8326.tar.gz lombok-0072efc4d683611e7bb1d76f27912056ee8b8326.tar.bz2 lombok-0072efc4d683611e7bb1d76f27912056ee8b8326.zip |
Now also testing value= as well as arrays in annotation params.
Diffstat (limited to 'test')
-rw-r--r-- | test/pretty/resource/after/Annotation.java | 6 | ||||
-rw-r--r-- | test/pretty/resource/before/Annotation.java | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/test/pretty/resource/after/Annotation.java b/test/pretty/resource/after/Annotation.java index 006af03e..06fe62b3 100644 --- a/test/pretty/resource/after/Annotation.java +++ b/test/pretty/resource/after/Annotation.java @@ -6,4 +6,8 @@ class Annotation { } public void method(@SuppressWarnings("unused") int x) { } -}
\ No newline at end of file + public void method2(@SuppressWarnings(value = {"unused"}) int y) { + } + public void method3(@SuppressWarnings({"unused", "unchecked"}) int z) { + } +} diff --git a/test/pretty/resource/before/Annotation.java b/test/pretty/resource/before/Annotation.java index 297dd793..edd1a5e7 100644 --- a/test/pretty/resource/before/Annotation.java +++ b/test/pretty/resource/before/Annotation.java @@ -6,4 +6,8 @@ class Annotation { } public void method(@SuppressWarnings("unused") int x) { } + public void method2(@SuppressWarnings(value={"unused"}) int y) { + } + public void method3(@SuppressWarnings({"unused", "unchecked"}) int z) { + } } |