1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-15 08:04:52 +02:00

[sinttest] Add code comment and empty line

This commit is contained in:
Florian Schmaus 2021-03-18 21:32:37 +01:00
parent ddf96828e4
commit b276b89916

View file

@ -196,9 +196,12 @@ public class XmppConnectionStressTest {
for (boolean[] markers : myReceiveMarkers.values()) { for (boolean[] markers : myReceiveMarkers.values()) {
if (BooleansUtils.contains(markers, false)) { if (BooleansUtils.contains(markers, false)) {
// There is at least one message we did not receive yet, therefore do not signal the
// receivedSemaphore.
return; return;
} }
} }
// All markers set to true, this means we received all messages. // All markers set to true, this means we received all messages.
receivedSemaphore.release(); receivedSemaphore.release();
} }