Commit bded8e6
committed
GH-488: Improve warning in the
Fixes: #488
When `@Retryable(exceptionExpression)` is used with SpEL template (`#{..}`),
a specific warning is emitted into logs indicating that such a syntax is deprecated.
* Improve that warning message pointing out what SpEL expression could be improved to
avoid this warning and future changesExpressionRetryPolicy
1 parent 4f34e36 commit bded8e6
File tree
1 file changed
+5
-3
lines changed- src/main/java/org/springframework/retry/policy
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | | - | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments