Skip to content

Commit 57db393

Browse files
committed
removed commented code
Signed-off-by: Tony Guo <[email protected]>
1 parent 57cab25 commit 57db393

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/websocket/WebSocketSecureNetworkModuleFactory.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,7 @@ public NetworkModule createNetworkModule(URI brokerUri, MqttConnectOptions optio
7878

7979
netModule.configHttpProxy(options.getHttpProxyHost(), options.getHttpProxyPort(),
8080
options.getHttpProxyUser(), options.getHttpProxyPassword());
81-
// if(options.getHttpProxyHost() != null && options.getHttpProxyHost().length() > 0 &&
82-
// options.getHttpProxyPort() > 0){
83-
// netModule.setHttpProxyHost(options.getHttpProxyHost());
84-
// netModule.setHttpProxyPort(options.getHttpProxyPort());
85-
// if(options.getHttpProxyUser() != null && options.getHttpProxyUser().length() > 0 &&
86-
// options.getHttpProxyPassword() != null && options.getHttpProxyPassword().length() > 0) {
87-
// netModule.setHttpProxyUser(options.getHttpProxyUser());
88-
// netModule.setHttpProxyPassword(options.getHttpProxyPassword());
89-
// }
90-
// }
81+
9182
return netModule;
9283
}
9384
}

0 commit comments

Comments
 (0)