Skip to content

Commit fca97ff

Browse files
ielatifsnicoll
authored andcommitted
Fix javadoc of management server port
See gh-17068
1 parent 844873c commit fca97ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ public Integer getPort() {
9999

100100
/**
101101
* Sets the port of the management server, use {@code null} if the
102-
* {@link ServerProperties#getPort() server port} should be used. To disable use 0.
102+
* {@link ServerProperties#getPort() server port} should be used. Set to 0 to use a
103+
* random port or set to -1 to disable.
103104
* @param port the port
104105
*/
105106
public void setPort(Integer port) {

0 commit comments

Comments
 (0)