You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidate.java
+4-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2024 the original author or authors.
2
+
* Copyright 2012-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -55,7 +55,7 @@
55
55
* The class type of bean that should be checked. The condition matches if a bean of
56
56
* the class specified is contained in the {@link BeanFactory} and a primary candidate
57
57
* exists in case of multiple instances. Beans that are not autowire candidates or
58
-
* that are not default candidates are ignored.
58
+
* that are not default candidates or that are fallback candidates are ignored.
59
59
* <p>
60
60
* This attribute may <strong>not</strong> be used in conjunction with
61
61
* {@link #type()}, but it may be used instead of {@link #type()}.
@@ -71,7 +71,8 @@
71
71
* The class type name of bean that should be checked. The condition matches if a bean
72
72
* of the class specified is contained in the {@link BeanFactory} and a primary
73
73
* candidate exists in case of multiple instances. Beans that are not autowire
74
-
* candidates or that are not default candidates are ignored.
74
+
* candidates or that are not default candidates or that are fallback candidates are
75
+
* ignored.
75
76
* <p>
76
77
* This attribute may <strong>not</strong> be used in conjunction with
77
78
* {@link #value()}, but it may be used instead of {@link #value()}.
0 commit comments