Skip to content

Commit 58e599b

Browse files
larsgrefersnicoll
authored andcommitted
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
1 parent f117dbe commit 58e599b

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
import org.springframework.util.Assert;
2828

2929
/**
30-
* An identifier for an actuator endpoint. Endpoint IDs may contain only letters, numbers
31-
* {@code '.'} and {@code '-'}. They must begin with a lower-case letter. Case and syntax
30+
* An identifier for an actuator endpoint. Endpoint IDs may contain only letters and numbers.
31+
* They must begin with a lower-case letter. Case and syntax
3232
* characters are ignored when comparing endpoint IDs.
3333
*
3434
* @author Phillip Webb

0 commit comments

Comments
 (0)