Skip to content

Commit c21f5da

Browse files
K-jun98wilkinsona
authored andcommitted
Fix typo in PortInUseException Javadoc
Change 'suppler' to 'supplier' in the `@param` documentation for the throwIfPortBindingException method. See gh-48124 Signed-off-by: gobeomjun <alap_u@naver.com>
1 parent afa2af1 commit c21f5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public int getPort() {
6363
* Throw a {@link PortInUseException} if the given exception was caused by a "port in
6464
* use" {@link BindException}.
6565
* @param ex the source exception
66-
* @param port a suppler used to provide the port
66+
* @param port a supplier used to provide the port
6767
* @since 2.2.7
6868
*/
6969
public static void throwIfPortBindingException(Exception ex, IntSupplier port) {

0 commit comments

Comments
 (0)