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

Method cleanAllMessages

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

Source from the content-addressed store, hash-verified

407 }
408
409 public void cleanAllMessages() {
410 synchronized (hContacts) {
411 int j = hContacts.size();
412 for (int i = 0; i < j; i++) {
413 Contact c = (Contact) hContacts.elementAt(i);
414 try {
415 c.purge();
416 } catch (Exception ex) {
417 }
418 }
419 }
420 highliteMessageCount = 0;
421 messageCount = 0;
422 cleanAllGroups();
423 //reEnumRoster();
424 redraw();
425 }
426
427 public void cleanAllGroups() {
428 for (Enumeration e = groups.elements(); e.hasMoreElements();) {

Callers 2

yesMethod · 0.95
cmdCleanAllMessagesMethod · 0.95

Calls 4

purgeMethod · 0.95
cleanAllGroupsMethod · 0.95
sizeMethod · 0.45
redrawMethod · 0.45

Tested by

no test coverage detected