Browse Source

Merge pull request #48124 from K-jun98

* gh-48124:
  Fix typo in PortInUseException Javadoc

Closes gh-48124
pull/48297/head
Andy Wilkinson 3 months ago
parent
commit
fe07ad8e51
  1. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/PortInUseException.java

2
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/PortInUseException.java

@ -63,7 +63,7 @@ public class PortInUseException extends WebServerException { @@ -63,7 +63,7 @@ public class PortInUseException extends WebServerException {
* Throw a {@link PortInUseException} if the given exception was caused by a "port in
* use" {@link BindException}.
* @param ex the source exception
* @param port a suppler used to provide the port
* @param port a supplier used to provide the port
* @since 2.2.7
*/
public static void throwIfPortBindingException(Exception ex, IntSupplier port) {

Loading…
Cancel
Save