1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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 // 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 sent by the server or wait with a timeout for a
// closing stream element to be received from the server. // closing stream element to be received from the server.
@SuppressWarnings("unused")
Exception res = closingStreamReceived.checkIfSuccessOrWait(); Exception res = closingStreamReceived.checkIfSuccessOrWait();
} catch (InterruptedException | NoResponseException e) { } catch (InterruptedException | NoResponseException e) {
LOGGER.log(Level.INFO, "Exception while waiting for closing stream element from the server " + this, e); LOGGER.log(Level.INFO, "Exception while waiting for closing stream element from the server " + this, e);