Skip to content

Commit 55f2af1

Browse files
committed
Polish "Polish"
See gh-42095
1 parent aa83bbe commit 55f2af1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/ServletComponentRegisteringPostProcessor.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@
2222
import java.util.Objects;
2323
import java.util.Set;
2424

25-
import org.springframework.aot.generate.GenerationContext;
2625
import org.springframework.aot.hint.MemberCategory;
2726
import org.springframework.aot.hint.TypeReference;
2827
import org.springframework.beans.BeansException;
2928
import org.springframework.beans.factory.annotation.AnnotatedBeanDefinition;
3029
import org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution;
3130
import org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor;
32-
import org.springframework.beans.factory.aot.BeanFactoryInitializationCode;
3331
import org.springframework.beans.factory.config.BeanDefinition;
3432
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
3533
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
@@ -131,8 +129,7 @@ public BeanFactoryInitializationAotContribution processAheadOfTime(ConfigurableL
131129
.getValue();
132130
generationContext.getRuntimeHints()
133131
.reflection()
134-
.registerType(TypeReference.of(listenerClassName),
135-
MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
132+
.registerType(TypeReference.of(listenerClassName), MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
136133
}
137134
}
138135
};

0 commit comments

Comments
 (0)