Fix javadoc reference

Method is called nextBackOff() and not nextBackOffMillis().

Closes gh-1115
master
Fredrik Sundberg 8 years ago committed by Stephane Nicoll
parent 2029b6e0b7
commit d3b051a933
  1. 2
      spring-core/src/main/java/org/springframework/util/backoff/BackOff.java

@ -26,7 +26,7 @@ package org.springframework.util.backoff;
* BackOffExecution exec = backOff.start();
*
* // In the operation recovery/retry loop:
* long waitInterval = exec.nextBackOffMillis();
* long waitInterval = exec.nextBackOff();
* if (waitInterval == BackOffExecution.STOP) {
* // do not retry operation
* }

Loading…
Cancel
Save