Skip to content

Commit 707b769

Browse files
committed
Consistent @⁠Contract expression formatting
1 parent 5b9cb82 commit 707b769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ protected boolean matchesBeanName(String beanName, @Nullable String candidateNam
22492249
* i.e. whether the candidate points back to the original bean or to a factory method
22502250
* on the original bean.
22512251
*/
2252-
@Contract("null, _ -> false;_, null -> false;")
2252+
@Contract("null, _ -> false; _, null -> false;")
22532253
private boolean isSelfReference(@Nullable String beanName, @Nullable String candidateName) {
22542254
return (beanName != null && candidateName != null &&
22552255
(beanName.equals(candidateName) || (containsBeanDefinition(candidateName) &&

0 commit comments

Comments
 (0)