diff --git a/java/java-tests/testSrc/com/intellij/java/codeInspection/JSpecifyConformanceAnnotationTest.java b/java/java-tests/testSrc/com/intellij/java/codeInspection/JSpecifyConformanceAnnotationTest.java index 91dc67fa7c70..a77afcf02d1a 100644 --- a/java/java-tests/testSrc/com/intellij/java/codeInspection/JSpecifyConformanceAnnotationTest.java +++ b/java/java-tests/testSrc/com/intellij/java/codeInspection/JSpecifyConformanceAnnotationTest.java @@ -184,8 +184,8 @@ public class JSpecifyConformanceAnnotationTest extends LightJavaCodeInsightFixtu try (@Nullable AutoCloseable a = () -> {}) {} """), """ - // test:irrelevant-annotation:Nullable - try (@Nullable AutoCloseable a = () -> {}) {} + // test:irrelevant-annotation:NonNull + try (@NonNull AutoCloseable a = () -> {}) {} """); text = JOIN_TEST_IRRELEVANT_ANNOTATIONS.matcher(text) .replaceAll("// test:irrelevant-annotation:Nullable & test:irrelevant-annotation:NonNull\n");