Closed sebastien-belin-adp closed 2 months ago
Attention: Patch coverage is 0%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 89.41%. Comparing base (
29cd900
) to head (dcd0a34
). Report is 2 commits behind head on develop.
Files with missing lines | Patch % | Lines |
---|---|---|
...adaptris/core/services/RetryingServiceWrapper.java | 0.00% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Motivation
We get a NPE when numRetries is not set in the RetryingServiceWrapper
Modification
Don't use numRetries property directly but used the method numRetries() that return the default value if null.
PR Checklist
Result
numRetries can be left empty without causing a NPE
Testing
Configure the RetryingServiceWrapper and leave numRetries. Then, run that service and make sure it works fine.