Skip to content

Commit

Permalink
GH-1473: Fix Unused Import
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Jul 27, 2022
1 parent 439ccd1 commit fac71c4
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<Boolean>} in its {@code confirm} property.
* @param enableConfirms true to enable publisher confirms.
Expand Down Expand Up @@ -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<Message> {
Expand All @@ -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 <C> the type.
* @since 1.6
Expand Down

0 comments on commit fac71c4

Please sign in to comment.