Polish "Prevent double registration of event publisher registrar"

See gh-39297
This commit is contained in:
Andy Wilkinson
2024-01-30 16:02:38 +00:00
parent 50c44e301a
commit 61ca87f7a4
2 changed files with 30 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ public class TestcontainersPropertySource extends EnumerablePropertySource<Map<S
* to the {@link TestcontainersPropertySource}. This class is a
* {@link BeanFactoryPostProcessor} so that it is initialized as early as possible.
*/
private static class EventPublisherRegistrar implements BeanFactoryPostProcessor, ApplicationEventPublisherAware {
static class EventPublisherRegistrar implements BeanFactoryPostProcessor, ApplicationEventPublisherAware {
static final String NAME = EventPublisherRegistrar.class.getName();