This commit is contained in:
Stephane Nicoll 2022-03-18 18:25:30 +01:00
parent 5c540e5390
commit 0cbea29517
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ import org.springframework.lang.Nullable;
* @author Stephane Nicoll
* @since 6.0
*/
@FunctionalInterface
public interface AotContributingBeanFactoryPostProcessor extends BeanFactoryPostProcessor {
/**

View File

@ -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);
}));
}