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 {
71
71
getConfig ().replaceWithSchema (ObjectNode .class , new ObjectSchema ());
72
72
}
73
73
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" ;
75
75
76
76
@ Bean
77
77
LocalVariableTableParameterNameDiscoverer localSpringDocParameterNameDiscoverer () {
@@ -193,7 +193,7 @@ BeanFactoryPostProcessor springdocBeanFactoryPostProcessor(Environment environme
193
193
@ ConditionalOnMissingClass (value = BINDRESULT_CLASS )
194
194
@ Lazy (false )
195
195
BeanFactoryPostProcessor springdocBeanFactoryPostProcessor2 (Environment environment ) {
196
- return beanFactory -> initBeanFactoryPostProcessor ( beanFactory ) ;
196
+ return this :: initBeanFactoryPostProcessor ;
197
197
}
198
198
199
199
private void initBeanFactoryPostProcessor (ConfigurableListableBeanFactory beanFactory ) {
Original file line number Diff line number Diff line change 27
27
import org .springframework .context .annotation .Bean ;
28
28
import org .springframework .context .annotation .Configuration ;
29
29
import org .springframework .context .annotation .Lazy ;
30
- import org .springframework .context .annotation .Primary ;
31
30
32
31
import static org .springdoc .core .Constants .SPRINGDOC_ENABLED ;
33
32
import static org .springdoc .core .SpringDocUtils .getConfig ;
You can’t perform that action at this time.
0 commit comments