Browse Source

Avoid unnecessary imports for Javadoc

pull/35447/head
Sam Brannen 3 months ago
parent
commit
114c3f7c9c
  1. 8
      spring-core/src/main/java/org/springframework/core/retry/RetryListener.java
  2. 4
      spring-core/src/main/java/org/springframework/core/retry/support/CompositeRetryListener.java

8
spring-core/src/main/java/org/springframework/core/retry/RetryListener.java

@ -18,20 +18,18 @@ package org.springframework.core.retry; @@ -18,20 +18,18 @@ package org.springframework.core.retry;
import org.jspecify.annotations.Nullable;
import org.springframework.core.retry.support.CompositeRetryListener;
/**
* {@code RetryListener} defines a <em>listener</em> API for reacting to events
* published during the execution of a {@link Retryable} operation.
*
* <p>Typically registered in a {@link RetryTemplate}, and can be composed using
* a {@link CompositeRetryListener}.
* <p>Typically registered in a {@link RetryTemplate}, and can be composed using a
* {@link org.springframework.core.retry.support.CompositeRetryListener CompositeRetryListener}.
*
* @author Mahmoud Ben Hassine
* @author Sam Brannen
* @author Juergen Hoeller
* @since 7.0
* @see CompositeRetryListener
* @see org.springframework.core.retry.support.CompositeRetryListener
*/
public interface RetryListener {

4
spring-core/src/main/java/org/springframework/core/retry/support/CompositeRetryListener.java

@ -24,13 +24,13 @@ import org.jspecify.annotations.Nullable; @@ -24,13 +24,13 @@ import org.jspecify.annotations.Nullable;
import org.springframework.core.retry.RetryException;
import org.springframework.core.retry.RetryListener;
import org.springframework.core.retry.RetryPolicy;
import org.springframework.core.retry.RetryTemplate;
import org.springframework.core.retry.Retryable;
import org.springframework.util.Assert;
/**
* A composite implementation of the {@link RetryListener} interface, which is
* used to compose multiple listeners within a {@link RetryTemplate}.
* used to compose multiple listeners within a
* {@link org.springframework.core.retry.RetryTemplate RetryTemplate}.
*
* <p>Delegate listeners will be called in their registration order.
*

Loading…
Cancel
Save