/** * Notifies the listeners that a contact has been updated. * * @param roster the roster that was updated. * @param item the updated roster item. */ public static void contactUpdated(Roster roster, RosterItem item) { if (!listeners.isEmpty()) { for (RosterEventListener listener : listeners) { listener.contactUpdated(roster, item); } } }
/** * Notifies the listeners that a contact has been updated. * * @param roster the roster that was updated. * @param item the updated roster item. */ public static void contactUpdated(Roster roster, RosterItem item) { if (!listeners.isEmpty()) { for (RosterEventListener listener : listeners) { listener.contactUpdated(roster, item); } } }