Skip to content

Commit 3a0ab01

Browse files
1993heqiangsnicoll
authored andcommitted
Polish "Remove boxing"
See gh-31197
1 parent 35fb4f4 commit 3a0ab01

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeM
5151
return ConditionOutcome.noMatch(messageBuilder.because("no BeanFactory available."));
5252
}
5353

54-
private Boolean evaluateExpression(ConfigurableListableBeanFactory beanFactory, String expression) {
54+
private boolean evaluateExpression(ConfigurableListableBeanFactory beanFactory, String expression) {
5555
BeanExpressionResolver resolver = beanFactory.getBeanExpressionResolver();
5656
if (resolver == null) {
5757
resolver = new StandardBeanExpressionResolver();

0 commit comments

Comments
 (0)