Skip to content

Commit abc1c89

Browse files
deanrobertcookmarci4
authored andcommitted
Fix spelling mistake in invalid scheme exception (TooTallNate#417)
1 parent 58d1778 commit abc1c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/java_websocket/client/WebSocketClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private int getPort() {
203203
} else if( scheme.equals( "ws" ) ) {
204204
return WebSocket.DEFAULT_PORT;
205205
} else {
206-
throw new RuntimeException( "unkonow scheme" + scheme );
206+
throw new RuntimeException( "unknown scheme: " + scheme );
207207
}
208208
}
209209
return port;

0 commit comments

Comments
 (0)