aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty/resource')
-rw-r--r--test/pretty/resource/after/Annotation.java2
-rw-r--r--test/pretty/resource/before/Annotation.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/test/pretty/resource/after/Annotation.java b/test/pretty/resource/after/Annotation.java
index 06fe62b3..6b3b35b8 100644
--- a/test/pretty/resource/after/Annotation.java
+++ b/test/pretty/resource/after/Annotation.java
@@ -6,7 +6,7 @@ class Annotation {
}
public void method(@SuppressWarnings("unused") int x) {
}
- public void method2(@SuppressWarnings(value = {"unused"}) int y) {
+ public void method2(@SuppressWarnings({"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 24868acd..edd1a5e7 100644
--- a/test/pretty/resource/before/Annotation.java
+++ b/test/pretty/resource/before/Annotation.java
@@ -1,4 +1,3 @@
-//ignore
@SuppressWarnings("all")
class Annotation {
@Override