mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-19 02:22:05 +01:00
8736e3e434
Connections like XMPPTCPConnection may still reported connected, if they are, for example disconnected but resumable. This is already accounted for in throwAlreadyConnectedExceptionIfAppropriate(), hence the assert is unnecessary and leads to false negatives for XMPPTCPConnection. For the sake of completeness, the right condition, assuming XMPPTCPConnection is used, for the assert would be: assert !connected || disconnectedButResumable; |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle |