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

Method cleanupSearch

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

Source from the content-addressed store, hash-verified

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) {

Callers 2

SearchResultMethod · 0.80
doActionMethod · 0.80

Calls 3

reEnumRosterMethod · 0.95
getGroupTypeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected