Skip to content

Commit

Permalink
RetryPolicy Javadoc fix. Fixes #148.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Dec 28, 2018
1 parent 788e936 commit fbbe01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/jodah/failsafe/RetryPolicy.java
Expand Up @@ -538,7 +538,7 @@ public RetryPolicy withMaxDuration(long maxDuration, TimeUnit timeUnit) {
/**
* Sets the max number of retries to perform. {@code -1} indicates to retry forever.
*
* @throws IllegalArgumentException if {@code maxRetries} < -1
* @throws IllegalArgumentException if {@code maxRetries} &lt -1
*/
public RetryPolicy withMaxRetries(int maxRetries) {
Assert.isTrue(maxRetries >= -1, "maxRetries must be greater than or equal to -1");
Expand Down

0 comments on commit fbbe01e

Please sign in to comment.