Smack/smack-core/src/main/java/org/jivesoftware/smack
Florian Schmaus 8736e3e434 [core] Remove erroneous "assert !connected" in connect()
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;
2021-11-05 10:19:26 +01:00
..
altconnections Position parser at START_ELEMENT before parsing 2020-08-07 15:01:53 +05:30
bind2 Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
c2s Merge pull request #416 from Flowdalic/connected-boolean 2020-08-07 12:43:53 +02:00
compress Add XMPP.(get|has)Feature(Class|QName) and deprecate (String, String) 2020-07-23 14:32:14 +02:00
compression Add XMPP.(get|has)Feature(Class|QName) and deprecate (String, String) 2020-07-23 14:32:14 +02:00
datatypes [ibb] Use UInt16 for 'seq' and fix its handling 2020-12-05 23:04:17 +01:00
debugger [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
filter [core] Add AndFilter(List<StanzaFilter>) constructor 2021-03-14 12:48:01 +01:00
fsm [core] Add String-based StateDescriptor precedence/inferiority declaration methods 2020-07-25 14:27:45 +02:00
initializer Introduce CloseableUtil 2018-08-15 17:25:22 +02:00
internal [core] Rework TLS logic 2020-05-25 15:41:57 +02:00
iqrequest Use QName instead of XmppStringUtils.generateKey() 2019-06-11 12:47:39 +02:00
isr Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
packet Add removeExtension methods to StanzaBuilder. 2021-10-25 14:50:45 +00:00
parsing [ibb] Use UInt16 for 'seq' and fix its handling 2020-12-05 23:04:17 +01:00
provider [core] AbstractProvider should also consider TypeVariable 2021-01-10 20:37:01 +01:00
proxy Added support for Java's Proxy class in ProxyInfo 2021-03-29 19:01:42 +05:30
sasl Prevent password enforcement for SASL anonymous 2021-10-16 21:09:01 +02:00
util Merge pull request #501 from Flowdalic/fix-redundant-namespaces 2021-10-19 14:29:18 +02:00
AbstractConnectionClosedListener.java [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
AbstractConnectionListener.java [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
AbstractXMPPConnection.java [core] Remove erroneous "assert !connected" in connect() 2021-11-05 10:19:26 +01:00
AsyncButOrdered.java core: improve AsyncButOrdered 2019-11-08 10:14:21 +01:00
ConnectionConfiguration.java Update documentation of default SecurityMode. 2021-09-09 17:28:25 +00:00
ConnectionCreationListener.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
ConnectionListener.java Add callback method for when Smack is connecting 2020-07-18 12:50:08 +02:00
ExceptionCallback.java Merge branch '4.2' into master-paul-merged 2017-12-17 11:16:02 +01:00
Manager.java [core] Introduce ScheduledAction.Kind for blocking and non-blocking actions 2020-05-18 09:15:14 +02:00
MessageListener.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
NonzaCallback.java Move SASL logic into AbstractXMPPConnection 2019-09-25 13:49:21 +02:00
PacketListener.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
PresenceListener.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
ReconnectionListener.java Fix minor codestyle issues 2017-12-17 11:03:46 +01:00
ReconnectionManager.java [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
SASLAuthentication.java [sasl] Avoid mechanisms that need a password when none is available 2021-03-25 15:01:15 +01:00
ScheduledAction.java [core] Introduce ScheduledAction.Kind for blocking and non-blocking actions 2020-05-18 09:15:14 +02:00
Smack.java [core] Make Smack.getNoticeStream() more robust 2021-03-25 14:58:44 +01:00
SmackConfiguration.java Add org.jivesoftware.smack.Smack with getVersion() and ensureInitialized() 2020-11-09 08:46:57 +01:00
SmackException.java NoEndpointDiscoveredException: s/Not/No 2020-07-28 19:00:04 +02:00
SmackFuture.java Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
SmackInitialization.java core: use addCompressionHandler() instead directly adding to the list 2020-04-09 15:14:09 +02:00
SmackReactor.java [core] Do not weakly reference "channel selected" callback 2020-05-30 19:45:59 +02:00
StanzaCollector.java Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
StanzaListener.java Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
UnparseableStanza.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
XMPPConnection.java Add XMPP.(get|has)Feature(Class|QName) and deprecate (String, String) 2020-07-23 14:32:14 +02:00
XMPPConnectionRegistry.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
XMPPException.java Add getter for the stanza associated with the exception 2021-10-17 16:06:41 +02:00
XmppInputOutputFilter.java Remove SynchronizationPoint 2020-05-31 19:48:47 +02:00
package-info.java Add JavadocPackage checkstyle 2015-04-04 17:16:47 +02:00