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