Polish "Replace @ConditionalOnProperty with …BooleanProperty where feasible"

See gh-43868
This commit is contained in:
Andy Wilkinson
2025-01-21 15:09:00 +00:00
parent 960c8825e0
commit 766c17fcdd
3 changed files with 4 additions and 5 deletions

View File

@@ -134,7 +134,8 @@ public class LocalDevToolsAutoConfiguration {
}
@Bean
@ConditionalOnBooleanProperty(name = "spring.devtools.restart.log-condition-evaluation-delta", matchIfMissing = true)
@ConditionalOnBooleanProperty(name = "spring.devtools.restart.log-condition-evaluation-delta",
matchIfMissing = true)
ConditionEvaluationDeltaLoggingListener conditionEvaluationDeltaLoggingListener() {
return new ConditionEvaluationDeltaLoggingListener();
}