mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish "Remove boxing"
See gh-31197
This commit is contained in:
parent
35fb4f4bd3
commit
3a0ab01066
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user