1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00
Smack/smack-core/src
Florian Schmaus 8511a9e67b Fix deadline check
The pattern

if (now > deadline) break;
wait(deadline - now);

is insufficient in case "now == deadline" because the result would be
wait() being called with 0, which would mean "wait until
notified". Thus, the timeout would become infinite.
2016-12-19 16:29:16 +01:00
..
integration-test Add checkstyle rule for StringBuilder.append(char) 2015-07-27 19:02:11 +02:00
main Fix deadline check 2016-12-19 16:29:16 +01:00
test Ads support for SCRAM-SHA-1-PLUS 2016-11-20 19:34:17 +01:00