diff options
-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) { + } } |