You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointId.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,25 +22,25 @@
22
22
importorg.springframework.util.Assert;
23
23
24
24
/**
25
-
* An identifier for an actuator endpoint. Endpoint IDs may contain only letters and
26
-
* numbers and must begin with a lower-case letter. Case is ignored when comparing
27
-
* endpoint IDs.
25
+
* An identifier for an actuator endpoint. Endpoint IDs may contain only letters, numbers
26
+
* and {@code '.'}. They must begin with a lower-case letter. Case is ignored when
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,14 @@ public void ofWhenStartsWithUppercaseLetterThrowsException() {
74
74
EndpointId.of("Foo");
75
75
}
76
76
77
+
@Test
78
+
publicvoidofWhenContainsDotIsValid() {
79
+
// Ideally we wouldn't support this but there are existing endpoints using the
0 commit comments