Browse Source

Clean up warnings in Gradle build

pull/34554/head
Sam Brannen 10 months ago
parent
commit
80df88bd4f
  1. 1
      spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassPostProcessorAotContributionTests.java

1
spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassPostProcessorAotContributionTests.java

@ -500,6 +500,7 @@ public class ConfigurationClassPostProcessorAotContributionTests {
}); });
} }
@SuppressWarnings("unchecked")
private void compile(BiConsumer<Consumer<GenericApplicationContext>, Compiled> result) { private void compile(BiConsumer<Consumer<GenericApplicationContext>, Compiled> result) {
MethodReference methodReference = beanFactoryInitializationCode.getInitializers().get(0); MethodReference methodReference = beanFactoryInitializationCode.getInitializers().get(0);
beanFactoryInitializationCode.getTypeBuilder().set(type -> { beanFactoryInitializationCode.getTypeBuilder().set(type -> {

Loading…
Cancel
Save