1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 00:59:39 +02:00

waitForCondition() → waitForConditionOrThrowConnectionException()

The method was already renamed, but not in
ModularXmppClientToServerConnectionInternal.
This commit is contained in:
Florian Schmaus 2020-08-06 18:17:04 +02:00
parent a356e91108
commit ac788592a6
3 changed files with 3 additions and 3 deletions

View file

@ -1165,7 +1165,7 @@ public class XmppTcpTransportModule extends ModularXmppClientToServerConnectionM
}
private void waitForHandshakeFinished() throws InterruptedException, CertificateException, SSLException, SmackException, XMPPException {
connectionInternal.waitForCondition(() -> isHandshakeFinished(), "TLS handshake to finish");
connectionInternal.waitForConditionOrThrowConnectionException(() -> isHandshakeFinished(), "TLS handshake to finish");
if (handshakeStatus == TlsHandshakeStatus.failed) {
throw handshakeException;