()
| 374 | } |
| 375 | |
| 376 | public void cleanupSearch() { |
| 377 | int index = 0; |
| 378 | synchronized (hContacts) { |
| 379 | int j = hContacts.size(); |
| 380 | while (index < j) { |
| 381 | if (((Contact) hContacts.elementAt(index)).getGroupType() == Groups.TYPE_SEARCH_RESULT) { |
| 382 | hContacts.removeElementAt(index); |
| 383 | j--; |
| 384 | } else { |
| 385 | index++; |
| 386 | } |
| 387 | } |
| 388 | } |
| 389 | reEnumRoster(); |
| 390 | } |
| 391 | |
| 392 | public void cmdCleanAllMessages() { |
| 393 | if (messageCount > 0) { |
no test coverage detected