From fcdd439ad0266a8165fd9d75ad150cdf7cf4cdc3 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Wed, 11 Jun 2025 13:06:55 +0200 Subject: [PATCH] Polish Javadoc for FixedBackOff --- .../org/springframework/util/backoff/FixedBackOff.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java b/spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java index 9695077362b..959b04fbb37 100644 --- a/spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java +++ b/spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java @@ -42,15 +42,17 @@ public class FixedBackOff implements BackOff { /** - * Create an instance with an interval of {@value #DEFAULT_INTERVAL} - * ms and an unlimited number of attempts. + * Create an instance with an interval of {@value #DEFAULT_INTERVAL} ms and + * an unlimited number of attempts. + * @see #setInterval(long) + * @see #setMaxAttempts(long) */ public FixedBackOff() { } /** - * Create an instance. - * @param interval the interval between two attempts + * Create an instance with the supplied interval and maximum number of attempts. + * @param interval the interval between two attempts in milliseconds * @param maxAttempts the maximum number of attempts */ public FixedBackOff(long interval, long maxAttempts) {