Skip to content

Commit 468db03

Browse files
committed
Formatting
1 parent d6165d9 commit 468db03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnWebApplicationCondition.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ private ConditionOutcome isWebApplication(ConditionContext context,
7575
}
7676

7777
if (context.getResourceLoader() instanceof WebApplicationContext) {
78-
return ConditionOutcome
79-
.match("found web application WebApplicationContext");
78+
return ConditionOutcome.match("found web application WebApplicationContext");
8079
}
8180

8281
return ConditionOutcome.noMatch("not a web application");

spring-boot/src/main/java/org/springframework/boot/bind/PropertySourcesPropertyValues.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class PropertySourcesPropertyValues implements PropertyValues {
5151
private static final Collection<String> NON_ENUMERABLE_ENUMERABLES = Arrays.asList(
5252
StandardEnvironment.SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME,
5353
StandardEnvironment.SYSTEM_PROPERTIES_PROPERTY_SOURCE_NAME);
54-
54+
5555
/**
5656
* Create a new PropertyValues from the given PropertySources
5757
* @param propertySources a PropertySources instance
@@ -107,7 +107,8 @@ private void processEnumerablePropertySource(EnumerablePropertySource<?> source,
107107
PropertySourcesPropertyResolver resolver, String[] includes, String[] exacts) {
108108
if (source.getPropertyNames().length > 0) {
109109
for (String propertyName : source.getPropertyNames()) {
110-
if (PropertySourcesPropertyValues.NON_ENUMERABLE_ENUMERABLES.contains(source.getName())
110+
if (PropertySourcesPropertyValues.NON_ENUMERABLE_ENUMERABLES
111+
.contains(source.getName())
111112
&& !PatternMatchUtils.simpleMatch(includes, propertyName)) {
112113
continue;
113114
}

0 commit comments

Comments
 (0)