()
| 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) { |
no test coverage detected