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
This commit is contained in:
Lars Grefer 2019-11-22 16:31:32 +01:00 committed by Stephane Nicoll
parent f117dbe8a1
commit 58e599b6c1
1 changed files with 2 additions and 2 deletions

View File

@ -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