From 15ecd5ec4dfdfa11fda88d0f410b56492f9259e4 Mon Sep 17 00:00:00 2001 From: Rick Ossendrijver Date: Sat, 24 Sep 2022 10:13:36 +0200 Subject: [PATCH] Swap `beforeStatic` and `beforeSynchronized` --- .../errorprone/bugpatterns/RefasterTemplateModifiersTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RefasterTemplateModifiersTest.java b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RefasterTemplateModifiersTest.java index 9d039109a0c..1553d6cfe5a 100644 --- a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RefasterTemplateModifiersTest.java +++ b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/RefasterTemplateModifiersTest.java @@ -85,13 +85,13 @@ void identification() { "", " @BeforeTemplate", " // BUG: Diagnostic contains:", - " synchronized String beforeSynchronized(String str) {", + " static String beforeStatic(String str) {", " return str;", " }", "", " @BeforeTemplate", " // BUG: Diagnostic contains:", - " static String beforeStatic(String str) {", + " synchronized String beforeSynchronized(String str) {", " return str;", " }", "",