Commit 9df6272
Some various simple fixes
* Fix `SimpleRetryPolicy` for NPE when `context.getLastThrowable()` is `null`
Set `NO_RECOVERY` if it cannot retry and that exception is null
* Fix `RecoverAnnotationRecoveryHandlerTests` for a proper return value
in the composite `recoverByComposedRetryableAnnotationName` annotation test1 parent 2d54999 commit 9df6272
File tree
2 files changed
+3
-3
lines changed- src
- main/java/org/springframework/retry/policy
- test/java/org/springframework/retry/annotation
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
| 664 | + | |
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
| |||
0 commit comments