diff --git a/junit-jupiter-engine/src/test/java/org/junit/jupiter/api/extension/CloseableResourceIntegrationTests.java b/junit-jupiter-engine/src/test/java/org/junit/jupiter/api/extension/CloseableResourceIntegrationTests.java index 604dedd43c71..8337dc6ea8d6 100644 --- a/junit-jupiter-engine/src/test/java/org/junit/jupiter/api/extension/CloseableResourceIntegrationTests.java +++ b/junit-jupiter-engine/src/test/java/org/junit/jupiter/api/extension/CloseableResourceIntegrationTests.java @@ -14,7 +14,6 @@ import java.util.Map; -import org.jetbrains.annotations.NotNull; import org.junit.jupiter.api.Test; import org.junit.jupiter.engine.AbstractJupiterTestEngineTests; @@ -39,7 +38,6 @@ void closesCloseableResourcesInExtensionContext(ExtensionContext extensionContex store.put("baz", reportEntryOnClose(extensionContext, "3")); } - @NotNull private ExtensionContext.Store.CloseableResource reportEntryOnClose(ExtensionContext extensionContext, String key) { return () -> extensionContext.publishReportEntry(Map.of(key, "closed")); diff --git a/src/checkstyle/checkstyleMain.xml b/src/checkstyle/checkstyleMain.xml index 4874326e4614..447d02df9c62 100644 --- a/src/checkstyle/checkstyleMain.xml +++ b/src/checkstyle/checkstyleMain.xml @@ -17,6 +17,9 @@ + + + diff --git a/src/checkstyle/checkstyleTest.xml b/src/checkstyle/checkstyleTest.xml index 385e7b9a2cf7..6ac9b5d89eb5 100644 --- a/src/checkstyle/checkstyleTest.xml +++ b/src/checkstyle/checkstyleTest.xml @@ -9,6 +9,9 @@ + + +