Build: #1861 failed
Job: Default Job failed
Merge branch '4.4'
[core] Fix typo in javadoc
[core] Inline waitForConditionOrConnectionException
Using any of the two methods is error prone, see 0e0c0a4093ee ("[tcp]
Fix handling in connection exceptions when resuming a stream"), as one
can easily forget to check for connection exceptions after it
returned. There are also no longer any call sites of those methods.
Let's inline both variants of this method.
[tcp] Fix handling in connection exceptions when resuming a stream
Smack would previous run into "assert smResumptionFailed != null;" at
line 407, since if a connection exception was encountered,
waitForConditionOrConnectionException() would return, but we afterards
just assumed that either SM resumption was successful or not.