Smack/smack-tcp/src/main/java/org/jivesoftware/smack
Aditya Borikar 45f75d5ce0 Remove unrequired assignment of value to connectionEndpoint variable
The current code would work just fine for a connection having
multiple endpoints. However, when there is only one endpoint
ConnectionAttemptState.nextAddress() would return null, since
connectionEndpointIterator has already iterated over the only
possible value in the contructor leading to a NullPointerException.
This means that during establishment of a connection having multiple
endpoints, the first value inside connectionEndpointIterator would
always be overlooked.
2020-07-02 01:59:58 +05:30
..
sm Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
tcp Remove unrequired assignment of value to connectionEndpoint variable 2020-07-02 01:59:58 +05:30