Skip to content

Commit fcdd439

Browse files
committed
Polish Javadoc for FixedBackOff
1 parent b901132 commit fcdd439

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ public class FixedBackOff implements BackOff {
4242

4343

4444
/**
45-
* Create an instance with an interval of {@value #DEFAULT_INTERVAL}
46-
* ms and an unlimited number of attempts.
45+
* Create an instance with an interval of {@value #DEFAULT_INTERVAL} ms and
46+
* an unlimited number of attempts.
47+
* @see #setInterval(long)
48+
* @see #setMaxAttempts(long)
4749
*/
4850
public FixedBackOff() {
4951
}
5052

5153
/**
52-
* Create an instance.
53-
* @param interval the interval between two attempts
54+
* Create an instance with the supplied interval and maximum number of attempts.
55+
* @param interval the interval between two attempts in milliseconds
5456
* @param maxAttempts the maximum number of attempts
5557
*/
5658
public FixedBackOff(long interval, long maxAttempts) {

0 commit comments

Comments
 (0)