mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-24 13:02:06 +01:00
[sinttest] Add code comment and empty line
This commit is contained in:
parent
ddf96828e4
commit
b276b89916
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue