Skip to content

Commit c6c07c3

Browse files
authored
Fix typos in WebSocketServer
1 parent 4dbb2a3 commit c6c07c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/java_websocket/server/WebSocketServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ public final void onWebsocketClose( WebSocket conn, int code, String reason, boo
675675
* <p>
676676
* {@link #WebSocketServer(InetSocketAddress, int, List, Collection)} allows to specify a collection which will be used to store current connections in.<br>
677677
* Depending on the type on the connection, modifications of that collection may have to be synchronized.
678-
* @param ws The Webscoket connection which should be removed
678+
* @param ws The Websocket connection which should be removed
679679
* @return Removing connection successful
680680
*/
681681
protected boolean removeConnection( WebSocket ws ) {
@@ -696,7 +696,7 @@ protected boolean removeConnection( WebSocket ws ) {
696696

697697
/**
698698
* @see #removeConnection(WebSocket)
699-
* @param ws the Webscoket connection which should be added
699+
* @param ws the Websocket connection which should be added
700700
* @return Adding connection successful
701701
*/
702702
protected boolean addConnection( WebSocket ws ) {

0 commit comments

Comments
 (0)