Polish
This commit is contained in:
@@ -29,7 +29,6 @@ import org.springframework.lang.Nullable;
|
||||
* @author Stephane Nicoll
|
||||
* @since 6.0
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface AotContributingBeanFactoryPostProcessor extends BeanFactoryPostProcessor {
|
||||
|
||||
/**
|
||||
|
||||
@@ -92,7 +92,7 @@ class ApplicationContextAotGeneratorTests {
|
||||
assertThat(aotContext.getBeanDefinitionNames()).containsOnly("autowiredComponent", "number");
|
||||
AutowiredComponent bean = aotContext.getBean(AutowiredComponent.class);
|
||||
assertThat(bean.getEnvironment()).isSameAs(aotContext.getEnvironment());
|
||||
assertThat(bean.getCounter()).isEqualTo(42L);
|
||||
assertThat(bean.getCounter()).isEqualTo(42);
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user