From d9ff81ff4af44b154957a5a1dfd3fea81c8bd608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Tue, 21 Jul 2026 14:48:46 +0200 Subject: [PATCH] Polish "Adapt to improvements in Nullaway 0.13.8" See gh-50972 --- .../TestcontainersLifecycleOrderWithScopeIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/spring-boot-testcontainers/src/dockerTest/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java b/core/spring-boot-testcontainers/src/dockerTest/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java index bb42ef6bf23..b826e2f2be9 100644 --- a/core/spring-boot-testcontainers/src/dockerTest/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java +++ b/core/spring-boot-testcontainers/src/dockerTest/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java @@ -164,7 +164,7 @@ class TestcontainersLifecycleOrderWithScopeIntegrationTests { } @Override - public Object remove(String name) { + public @Nullable Object remove(String name) { synchronized (this) { Object removed = this.instances.remove(name); List destructor = this.destructors.get(name);