Suppress 'unused' warning in XMPPTCPConnection

This commit is contained in:
Florian Schmaus 2016-05-22 22:50:49 +02:00
parent b7211d5d67
commit 90f52fcc3b
1 changed files with 1 additions and 0 deletions

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);