mirror of https://github.com/OpenVidu/openvidu.git
openvidu-java-client : Remove redundant getSessionId() call in createConnection() method
parent
a14f8d997d
commit
39f9ba085e
|
@ -182,10 +182,6 @@ public class Session {
|
|||
*/
|
||||
public Connection createConnection(ConnectionProperties connectionProperties)
|
||||
throws OpenViduJavaClientException, OpenViduHttpException {
|
||||
if (!this.hasSessionId()) {
|
||||
this.getSessionId();
|
||||
}
|
||||
|
||||
final HttpClientResponseHandler<Connection> responseHandler = new HttpClientResponseHandler<Connection>() {
|
||||
@Override
|
||||
public Connection handleResponse(final ClassicHttpResponse response) throws IOException, HttpException {
|
||||
|
|
Loading…
Reference in New Issue