mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-inspections] IDEA-377301 improve jspecify nullability tests
- fix nullable->nonnull GitOrigin-RevId: 2255696f02e1670b10dd53435ac41efc63bfdcbb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
114646e339
commit
469df27af9
+2
-2
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user