diff --git a/spring-core/src/main/java/org/springframework/core/retry/RetryTemplate.java b/spring-core/src/main/java/org/springframework/core/retry/RetryTemplate.java index 98f1043bb9..4ca2b33e49 100644 --- a/spring-core/src/main/java/org/springframework/core/retry/RetryTemplate.java +++ b/spring-core/src/main/java/org/springframework/core/retry/RetryTemplate.java @@ -16,7 +16,6 @@ package org.springframework.core.retry; -import java.time.Duration; import java.util.ArrayDeque; import java.util.Deque; @@ -84,7 +83,6 @@ public class RetryTemplate implements RetryOperations { * @param retryPolicy the retry policy to use * @see RetryPolicy#withDefaults() * @see RetryPolicy#withMaxAttempts(long) - * @see RetryPolicy#withMaxElapsedTime(Duration) * @see RetryPolicy#builder() */ public void setRetryPolicy(RetryPolicy retryPolicy) {