Use existing constant rather than "spring.beaninfo.ignore"
See gh-29592
This commit is contained in:
parent
a94b176c39
commit
1a558292a8
|
@ -519,7 +519,7 @@ public class SpringApplication {
|
|||
|
||||
private void configureIgnoreBeanInfo(ConfigurableEnvironment environment) {
|
||||
if (System.getProperty(CachedIntrospectionResults.IGNORE_BEANINFO_PROPERTY_NAME) == null) {
|
||||
Boolean ignore = environment.getProperty("spring.beaninfo.ignore", Boolean.class, Boolean.TRUE);
|
||||
Boolean ignore = environment.getProperty(CachedIntrospectionResults.IGNORE_BEANINFO_PROPERTY_NAME, Boolean.class, Boolean.TRUE);
|
||||
System.setProperty(CachedIntrospectionResults.IGNORE_BEANINFO_PROPERTY_NAME, ignore.toString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue