From 18d6bf6032a7be4f77a3c02954cd2d7abcec5aa1 Mon Sep 17 00:00:00 2001 From: Vincent Meunier Date: Thu, 19 Sep 2024 18:44:34 +0200 Subject: [PATCH] review checkstyle --- .../rabbit/support/micrometer/RabbitListenerObservation.java | 4 ++-- .../rabbit/support/micrometer/RabbitTemplateObservation.java | 4 ++-- .../support/micrometer/ObservationIntegrationTests.java | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java index b5c4224be..9a8278baa 100644 --- a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java +++ b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitListenerObservation.java @@ -68,7 +68,7 @@ public String asString() { }, /** - * The exchange the listener is plugged to (empty if default exchange) + * The exchange the listener is plugged to (empty if default exchange). * @since 3.2 */ EXCHANGE { @@ -80,7 +80,7 @@ public String asString() { }, /** - * The routing key the listener is plugged to + * The routing key the listener is plugged to. * @since 3.2 */ ROUTING_KEY { diff --git a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitTemplateObservation.java b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitTemplateObservation.java index a03a7ee7e..6008e1e06 100644 --- a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitTemplateObservation.java +++ b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/micrometer/RabbitTemplateObservation.java @@ -72,7 +72,7 @@ public String asString() { }, /** - * The destination exchange (empty if default exchange) + * The destination exchange (empty if default exchange). * @since 3.2 */ EXCHANGE { @@ -85,7 +85,7 @@ public String asString() { }, /** - * The destination routing key + * The destination routing key. * @since 3.2 */ ROUTING_KEY { diff --git a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/support/micrometer/ObservationIntegrationTests.java b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/support/micrometer/ObservationIntegrationTests.java index ac1ddad41..e021ab454 100644 --- a/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/support/micrometer/ObservationIntegrationTests.java +++ b/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/support/micrometer/ObservationIntegrationTests.java @@ -21,7 +21,6 @@ import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; -import java.util.stream.Collectors; import org.springframework.amqp.core.Message; import org.springframework.amqp.rabbit.annotation.EnableRabbit;