mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 23:09:01 +00:00
Polish "Remove boxing"
See gh-31197
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ class OnExpressionCondition extends SpringBootCondition {
|
||||
return ConditionOutcome.noMatch(messageBuilder.because("no BeanFactory available."));
|
||||
}
|
||||
|
||||
private Boolean evaluateExpression(ConfigurableListableBeanFactory beanFactory, String expression) {
|
||||
private boolean evaluateExpression(ConfigurableListableBeanFactory beanFactory, String expression) {
|
||||
BeanExpressionResolver resolver = beanFactory.getBeanExpressionResolver();
|
||||
if (resolver == null) {
|
||||
resolver = new StandardBeanExpressionResolver();
|
||||
|
||||
Reference in New Issue
Block a user