Browse Source

Remove '.' and '-' reference in the EndpointId javadoc

Endpoint ID's which contain '-' or '.' cause a deprecation warning.
Therefore they shouldn't be doumented as valid characters.

See gh-19101
pull/19171/head
Lars Grefer 6 years ago committed by Stephane Nicoll
parent
commit
58e599b6c1
  1. 4
      spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointId.java

4
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointId.java

@ -27,8 +27,8 @@ import org.apache.commons.logging.LogFactory; @@ -27,8 +27,8 @@ import org.apache.commons.logging.LogFactory;
import org.springframework.util.Assert;
/**
* An identifier for an actuator endpoint. Endpoint IDs may contain only letters, numbers
* {@code '.'} and {@code '-'}. They must begin with a lower-case letter. Case and syntax
* An identifier for an actuator endpoint. Endpoint IDs may contain only letters and numbers.
* They must begin with a lower-case letter. Case and syntax
* characters are ignored when comparing endpoint IDs.
*
* @author Phillip Webb

Loading…
Cancel
Save