File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core
springdoc-openapi-kotlin/src/main/java/org/springdoc/kotlin Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public class SpringDocConfiguration {
7171 getConfig ().replaceWithSchema (ObjectNode .class , new ObjectSchema ());
7272 }
7373
74- private final String BINDRESULT_CLASS = "org.springframework.boot.context.properties.bind.BindResult" ;
74+ private static final String BINDRESULT_CLASS = "org.springframework.boot.context.properties.bind.BindResult" ;
7575
7676 @ Bean
7777 LocalVariableTableParameterNameDiscoverer localSpringDocParameterNameDiscoverer () {
@@ -193,7 +193,7 @@ BeanFactoryPostProcessor springdocBeanFactoryPostProcessor(Environment environme
193193 @ ConditionalOnMissingClass (value = BINDRESULT_CLASS )
194194 @ Lazy (false )
195195 BeanFactoryPostProcessor springdocBeanFactoryPostProcessor2 (Environment environment ) {
196- return beanFactory -> initBeanFactoryPostProcessor ( beanFactory ) ;
196+ return this :: initBeanFactoryPostProcessor ;
197197 }
198198
199199 private void initBeanFactoryPostProcessor (ConfigurableListableBeanFactory beanFactory ) {
Original file line number Diff line number Diff line change 2727import org .springframework .context .annotation .Bean ;
2828import org .springframework .context .annotation .Configuration ;
2929import org .springframework .context .annotation .Lazy ;
30- import org .springframework .context .annotation .Primary ;
3130
3231import static org .springdoc .core .Constants .SPRINGDOC_ENABLED ;
3332import static org .springdoc .core .SpringDocUtils .getConfig ;
You can’t perform that action at this time.
0 commit comments