diff --git a/module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnAvailableEndpoint.java b/module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnAvailableEndpoint.java index 12b0d1872ee..94b651c3316 100644 --- a/module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnAvailableEndpoint.java +++ b/module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnAvailableEndpoint.java @@ -35,7 +35,7 @@ import org.springframework.core.env.Environment; * technologies. *

* Matches access according to the endpoint's specific {@link Environment} property, - * falling back to {@code management.endpoints.default-access} or failing that + * falling back to {@code management.endpoints.access.default} or failing that * {@link Endpoint#defaultAccess()}. *

* Matches exposure according to any of the {@code management.endpoints.web.exposure.} diff --git a/module/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointId.java b/module/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointId.java index a46843d23a5..45d720ecbdc 100644 --- a/module/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointId.java +++ b/module/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointId.java @@ -117,7 +117,7 @@ public final class EndpointId { /** * Factory method to create a new {@link EndpointId} of the specified value. This - * variant will respect the {@code management.endpoints.migrate-legacy-names} property + * variant will respect the {@code management.endpoints.migrate-legacy-ids} property * if it has been set in the {@link Environment}. * @param environment the Spring environment * @param value the endpoint ID value