Browse Source

Merge branch '6.2.x'

pull/35055/head
Sam Brannen 10 months ago
parent
commit
8dc9621ad7
  1. 4
      spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java

4
spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java

@ -100,14 +100,14 @@ public class FixedBackOff implements BackOff {
} }
/** /**
* Set the maximum number of attempts in milliseconds. * Set the maximum number of attempts.
*/ */
public void setMaxAttempts(long maxAttempts) { public void setMaxAttempts(long maxAttempts) {
this.maxAttempts = maxAttempts; this.maxAttempts = maxAttempts;
} }
/** /**
* Return the maximum number of attempts in milliseconds. * Return the maximum number of attempts.
*/ */
public long getMaxAttempts() { public long getMaxAttempts() {
return this.maxAttempts; return this.maxAttempts;

Loading…
Cancel
Save