mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix checkstyle violation
See gh-35786
This commit is contained in:
parent
eef4c3c2c0
commit
712d935c8e
@ -187,7 +187,7 @@ class TestcontainersLifecycleOrderWithScopeIntegrationTests {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void destroy() {
|
void destroy() {
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
this.destructors.forEach((name, actions) -> actions.forEach(Runnable::run));
|
this.destructors.forEach((name, actions) -> actions.forEach(Runnable::run));
|
||||||
this.destructors.clear();
|
this.destructors.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user