GH-149 - Polishing.

This commit is contained in:
Oliver Drotbohm
2023-02-27 10:41:49 +01:00
parent ce264aaf96
commit d9e761e50b

View File

@@ -113,7 +113,7 @@ class EventPublicationConfiguration {
private boolean anyPropertyConfigured(String... properties) {
return Arrays.stream(properties)
.map(it -> environment.getProperty(it, (String) null))
.map(it -> environment.containsProperty(it))
.anyMatch(it -> it != null);
}
}