Browse Source

Fix checkstyle violation

See gh-35786
pull/42868/head
Phillip Webb 2 years ago
parent
commit
712d935c8e
  1. 2
      spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java

2
spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java

@ -187,7 +187,7 @@ class TestcontainersLifecycleOrderWithScopeIntegrationTests { @@ -187,7 +187,7 @@ class TestcontainersLifecycleOrderWithScopeIntegrationTests {
return null;
}
public void destroy() {
void destroy() {
synchronized (this) {
this.destructors.forEach((name, actions) -> actions.forEach(Runnable::run));
this.destructors.clear();

Loading…
Cancel
Save