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

Method resetRoster

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

Source from the content-addressed store, hash-verified

275 }
276
277 public void resetRoster() {
278 synchronized (hContacts) {
279 hContacts.removeAllElements();
280
281//#ifdef JUICK
282 juickContacts = null;
283 juickContacts = new Vector();
284 indexMainJuickContact = -1;
285//#endif
286
287 groups = null;
288 groups = new Groups();
289 }
290 if (sd.account != null) {
291 sd.account.bookmarks.removeAllElements();
292 myJid = sd.account.JID;
293 updateContact(sd.account.nick, myJid.getBare(), SR.MS_SELF_CONTACT, "self", false);
294 }
295 }
296
297 public void errorLog(String s) {
298 if (s == null) {

Callers 2

runMethod · 0.95
loadAccountMethod · 0.95

Calls 2

updateContactMethod · 0.95
getBareMethod · 0.80

Tested by

no test coverage detected