Smack/smack-core/src
Florian Schmaus 6d7f3904d9 Throw NotConnectedException on login()
if connect() was not previously called. Previously calling login() with
arguments would not check for the preconditions.

The check to throw needs to be performed in AbstractXMPPConnection
before every 'abstract login(Non)Anonymously()' call. That's the two
lines that check the preconditions are duplicated.

Also fix NPE in
XMPPTCPConnection.throwNotConnectedExceptionIfAppropriate() when
packetWrite is null (i.e. if the connection was never connected before).
2015-01-17 17:53:36 +01:00
..
integration-test Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
main Throw NotConnectedException on login() 2015-01-17 17:53:36 +01:00
test Allows PacketCollector's to cancel each other 2015-01-16 20:55:32 +01:00