diff --git a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/AsyncRabbitTemplate2.java b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/AsyncRabbitTemplate2.java index 8d4fb2c0b6..c6e5a4b325 100644 --- a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/AsyncRabbitTemplate2.java +++ b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/AsyncRabbitTemplate2.java @@ -37,7 +37,6 @@ import org.springframework.amqp.core.MessagePostProcessor; import org.springframework.amqp.core.MessageProperties; import org.springframework.amqp.core.ReturnedMessage; -import org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitFuture; import org.springframework.amqp.rabbit.connection.ConnectionFactory; import org.springframework.amqp.rabbit.connection.CorrelationData; import org.springframework.amqp.rabbit.connection.PublisherCallbackChannel; @@ -294,7 +293,7 @@ public void setMandatoryExpressionString(String mandatoryExpression) { } /** - * Set to true to enable publisher confirms. When enabled, the {@link RabbitFuture} + * Set to true to enable publisher confirms. When enabled, the {@link RabbitFuture2} * returned by the send and receive operation will have a * {@code CompletableFuture} in its {@code confirm} property. * @param enableConfirms true to enable publisher confirms. @@ -768,7 +767,7 @@ public void run() { } /** - * A {@link RabbitFuture} with a return type of {@link Message}. + * A {@link RabbitFuture2} with a return type of {@link Message}. * @since 1.6 */ public class RabbitMessageFuture2 extends RabbitFuture2 { @@ -780,7 +779,7 @@ public RabbitMessageFuture2(String correlationId, Message requestMessage) { } /** - * A {@link RabbitFuture} with a return type of the template's + * A {@link RabbitFuture2} with a return type of the template's * generic parameter. * @param the type. * @since 1.6