Commit b732aeb4 authored by Phillip Webb's avatar Phillip Webb

Polish

parent 8ce85ffb
...@@ -72,10 +72,12 @@ public class ShutdownEndpointTests extends AbstractEndpointTests<ShutdownEndpoin ...@@ -72,10 +72,12 @@ public class ShutdownEndpointTests extends AbstractEndpointTests<ShutdownEndpoin
@Bean @Bean
public ApplicationListener<ContextClosedEvent> listener() { public ApplicationListener<ContextClosedEvent> listener() {
return new ApplicationListener<ContextClosedEvent>() { return new ApplicationListener<ContextClosedEvent>() {
@Override @Override
public void onApplicationEvent(ContextClosedEvent event) { public void onApplicationEvent(ContextClosedEvent event) {
Config.this.latch.countDown(); Config.this.latch.countDown();
} }
}; };
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment