We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f56b70 commit e1061aeCopy full SHA for e1061ae
src/main/java/org/java_websocket/client/WebSocketClient.java
@@ -485,7 +485,7 @@ public void run() {
485
486
// if the socket is set by others we don't apply any TLS wrapper
487
if (upgradeSocketToSSLSocket && "wss".equals(uri.getScheme())) {
488
- SSLSocketFactory factory = null;
+ SSLSocketFactory factory;
489
// Prioritise the provided socketfactory
490
// Helps when using web debuggers like Fiddler Classic
491
if (socketFactory != null && (socketFactory instanceof SSLSocketFactory)) {
0 commit comments