1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-25 22:07:56 +01:00

Suppress 'unused' warning in XMPPTCPConnection

This commit is contained in:
Florian Schmaus 2016-05-22 22:50:49 +02:00
parent b7211d5d67
commit 90f52fcc3b

View file

@ -483,6 +483,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
// After we send the closing stream element, check if there was already a
// closing stream element sent by the server or wait with a timeout for a
// closing stream element to be received from the server.
@SuppressWarnings("unused")
Exception res = closingStreamReceived.checkIfSuccessOrWait();
} catch (InterruptedException | NoResponseException e) {
LOGGER.log(Level.INFO, "Exception while waiting for closing stream element from the server " + this, e);