Skip to content

Commit 9f1aef1

Browse files
committed
Fix Javadoc for FixedBackOff
1 parent 8dee7d8 commit 9f1aef1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public FixedBackOff() {
4949
}
5050

5151
/**
52-
* Create an instance.
52+
* Create an instance with the supplied settings.
5353
* @param interval the interval between two attempts
5454
* @param maxAttempts the maximum number of attempts
5555
*/
@@ -74,14 +74,14 @@ public long getInterval() {
7474
}
7575

7676
/**
77-
* Set the maximum number of attempts in milliseconds.
77+
* Set the maximum number of attempts.
7878
*/
7979
public void setMaxAttempts(long maxAttempts) {
8080
this.maxAttempts = maxAttempts;
8181
}
8282

8383
/**
84-
* Return the maximum number of attempts in milliseconds.
84+
* Return the maximum number of attempts.
8585
*/
8686
public long getMaxAttempts() {
8787
return this.maxAttempts;

0 commit comments

Comments
 (0)