Apply project formatting rules for ternary operator

Discovered via RegEx: ^\s+\?
This commit is contained in:
Sam Brannen
2022-11-29 17:51:13 +01:00
parent 61d8774da0
commit a88dbbec98
12 changed files with 27 additions and 36 deletions

View File

@@ -147,9 +147,8 @@ class ConfigurationClassParser {
this.problemReporter = problemReporter;
this.environment = environment;
this.resourceLoader = resourceLoader;
this.propertySourceRegistry = (this.environment instanceof ConfigurableEnvironment ce
? new PropertySourceRegistry(new PropertySourceProcessor(ce, this.resourceLoader))
: null);
this.propertySourceRegistry = (this.environment instanceof ConfigurableEnvironment ce ?
new PropertySourceRegistry(new PropertySourceProcessor(ce, this.resourceLoader)) : null);
this.registry = registry;
this.componentScanParser = new ComponentScanAnnotationParser(
environment, resourceLoader, componentScanBeanNameGenerator, registry);