Commit 316d1e4
committed
Deprecate ConditionOutcome.inverse()
1. It's not used anywhere.
2. The condition message is not applicable for reusing if match is reversed in practice.
3. The method is not doing much, we should call the constructor directly since it is public.
4. It's better to define it as instance method if it indeed required.
Signed-off-by: Yanming Zhou <[email protected]>1 parent b48ce96 commit 316d1e4
File tree
1 file changed
+3
-0
lines changed- spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
| 159 | + | |
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
| |||
0 commit comments