Fix bean type visibility

See gh-28437
This commit is contained in:
Stephane Nicoll
2021-11-02 12:34:19 +01:00
parent 942096bd55
commit 2be0161f9a

View File

@@ -87,8 +87,7 @@ class TestRestTemplateContextCustomizer implements ContextCustomizer {
* {@link ConfigurationClassPostProcessor} and add a {@link TestRestTemplateFactory}
* bean definition when a {@link TestRestTemplate} hasn't already been registered.
*/
private static class TestRestTemplateRegistrar
implements BeanDefinitionRegistryPostProcessor, Ordered, BeanFactoryAware {
static class TestRestTemplateRegistrar implements BeanDefinitionRegistryPostProcessor, Ordered, BeanFactoryAware {
private BeanFactory beanFactory;