Skip to content

Commit 51893c4

Browse files
committed
Merge pull request #31197 from 1993heqiang
* pr/31197: Upgrade copyright year of changed files Polish "Remove boxing" Closes gh-31197
2 parents 35fb4f4 + ad1214c commit 51893c4

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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)