MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / removeTrash

Method removeTrash

src/main/java/Client/Roster.java:595–610  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

593 }
594
595 private void removeTrash() {
596 int index = 0;
597 synchronized (hContacts) {
598 int j = hContacts.size();
599 while (index < j) {
600 Contact c = (Contact) hContacts.elementAt(index);
601 if (c.offline_type < 0) {
602 hContacts.removeElementAt(index);
603 j--;
604 } else {
605 index++;
606 }
607 }
608 countNewMsgs();
609 }
610 }
611//#ifndef WMUC
612
613 public MucContact findMucContact(Jid jid) {

Callers 1

updateContactMethod · 0.95

Calls 2

countNewMsgsMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected