From e75746332cb82e62212ce05661133d25913d03a5 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sun, 12 Feb 2023 17:35:34 +0100 Subject: [PATCH] Restore JDK 11 compatibility --- .../errorprone/bugpatterns/util/ConflictDetectionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/ConflictDetectionTest.java b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/ConflictDetectionTest.java index 2e3449733e..1eee5d7ff8 100644 --- a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/ConflictDetectionTest.java +++ b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/ConflictDetectionTest.java @@ -40,7 +40,7 @@ void matcher() { " // BUG: Diagnostic contains: `int` is not a valid identifier", " void in() {}", "", - " class B {", + " static class B {", " static void method3t() {}", " }", "}")