From 2bbf438c36826da03c832e1cae32bcde616ebf65 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Sun, 15 Apr 2018 17:54:35 +0200 Subject: [PATCH] Fix duplicate words in comments Closes gh-12866 --- .../autoconfigure/security/reactive/EndpointRequest.java | 2 +- .../boot/actuate/endpoint/web/annotation/ServletEndpoint.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/reactive/EndpointRequest.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/reactive/EndpointRequest.java index 9d4a3a4ee7..402becd8f7 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/reactive/EndpointRequest.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/reactive/EndpointRequest.java @@ -240,7 +240,7 @@ public final class EndpointRequest { } /** - * The The {@link ServerWebExchangeMatcher} used to match against the links endpoint. + * The {@link ServerWebExchangeMatcher} used to match against the links endpoint. */ public static final class LinksServerWebExchangeMatcher extends ApplicationContextServerWebExchangeMatcher { diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/annotation/ServletEndpoint.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/annotation/ServletEndpoint.java index 3a6792b368..819125deb9 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/annotation/ServletEndpoint.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/annotation/ServletEndpoint.java @@ -33,7 +33,7 @@ import org.springframework.core.annotation.AliasFor; * Implementations must also implement {@link Supplier Supplier<EndpointServlet>} * and return a valid {@link EndpointServlet}. *

- * This annotation can be used when existing servlets need be be exposed as actuator + * This annotation can be used when existing servlets need to be exposed as actuator * endpoints, but it is at the expense of portability. Most users should prefer the * {@link Endpoint @Endpoint} or {@link WebEndpoint @WebEndpoint} annotations whenever * possible.