diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/EndpointRequest.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/EndpointRequest.java index b59d33536d..5ddc89bcc5 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/EndpointRequest.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/EndpointRequest.java @@ -55,7 +55,7 @@ public final class EndpointRequest { * Returns a matcher that includes all {@link Endpoint actuator endpoints}. The * {@link EndpointRequestMatcher#excluding(Class...) excluding} method can be used to * further remove specific endpoints if required. For example:
-	 * EndpointRequestMatcher.toAnyEndpoint().excluding(ShutdownEndpoint.class)
+	 * EndpointRequest.toAnyEndpoint().excluding(ShutdownEndpoint.class)
 	 * 
* @return the configured {@link RequestMatcher} */ @@ -66,7 +66,7 @@ public final class EndpointRequest { /** * Returns a matcher that includes the specified {@link Endpoint actuator endpoints}. * For example:
-	 * EndpointRequestMatcher.to(ShutdownEndpoint.class, HealthEndpoint.class)
+	 * EndpointRequest.to(ShutdownEndpoint.class, HealthEndpoint.class)
 	 * 
* @param endpoints the endpoints to include * @return the configured {@link RequestMatcher} @@ -78,7 +78,7 @@ public final class EndpointRequest { /** * Returns a matcher that includes the specified {@link Endpoint actuator endpoints}. * For example:
-	 * EndpointRequestMatcher.to("shutdown", "health")
+	 * EndpointRequest.to("shutdown", "health")
 	 * 
* @param endpoints the endpoints to include * @return the configured {@link RequestMatcher}