Registry extends AutoCloseable directly (#45887)

Closes #45886

Signed-off-by: Simon Vacek <simonvacky@email.cz>
This commit is contained in:
Šimon Vacek 2026-02-02 07:37:31 +01:00 committed by GitHub
parent 13cf35ded3
commit 14fc381eaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ParameterContext;
import org.junit.jupiter.api.extension.ReflectiveInvocationContext;
@SuppressWarnings({"rawtypes", "unchecked"})
public class Registry implements ExtensionContext.Store.CloseableResource {
public class Registry implements AutoCloseable {
private final RegistryLogger logger;