Polish
This commit is contained in:
parent
5c540e5390
commit
0cbea29517
|
@ -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);
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue