Skip to content

Commit ec4fefb

Browse files
committed
Fix typo in PortInUseException Javadoc
Change 'suppler' to 'supplier' in the @param documentation for the throwIfPortBindingException method. Signed-off-by: gobeomjun <[email protected]>
1 parent 083a0a6 commit ec4fefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)