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-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java
+23-5Lines changed: 23 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,8 @@ public ConditionOutcome getMatchOutcome(ConditionContext context,
99
99
returnConditionOutcome.noMatch(
100
100
"@ConditionalOnSingleCandidate " + spec + " found no beans");
Copy file name to clipboardExpand all lines: spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidateTests.java
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2015 the original author or authors.
2
+
* Copyright 2012-2016 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.
@@ -35,6 +35,7 @@
35
35
* Tests for {@link ConditionalOnSingleCandidate}.
36
36
*
37
37
* @author Stephane Nicoll
38
+
* @author Andy Wilkinson
38
39
*/
39
40
publicclassConditionalOnSingleCandidateTests {
40
41
@@ -103,6 +104,22 @@ public void invalidAnnotationNoType() {
0 commit comments