mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
Suppress 'unused' warning in XMPPTCPConnection
This commit is contained in:
parent
b7211d5d67
commit
90f52fcc3b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue