Fix Javadoc for FixedBackOff

This commit is contained in:
Sam Brannen
2025-06-14 15:33:04 +02:00
parent 8dee7d8fb6
commit 9f1aef16f9

View File

@@ -49,7 +49,7 @@ public class FixedBackOff implements BackOff {
}
/**
* Create an instance.
* Create an instance with the supplied settings.
* @param interval the interval between two attempts
* @param maxAttempts the maximum number of attempts
*/
@@ -74,14 +74,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) {
this.maxAttempts = maxAttempts;
}
/**
* Return the maximum number of attempts in milliseconds.
* Return the maximum number of attempts.
*/
public long getMaxAttempts() {
return this.maxAttempts;