public void removeFromShare(VuzeBuddy buddy) { if (null != buddy) { for (Iterator iterator = avatarWidgets.iterator(); iterator.hasNext(); ) { AvatarWidget widget = (AvatarWidget) iterator.next(); if (null != widget.getVuzeBuddy()) { if (true == buddy.getLoginID().equals(widget.getVuzeBuddy().getLoginID())) { if (sharePage != null) { sharePage.removeBuddy(widget.getVuzeBuddy()); } widget.setSharedAlready(false); break; } } } } }
public void removeFromShare(AvatarWidget widget) { if (sharePage != null) { sharePage.removeBuddy(widget.getVuzeBuddy()); } widget.setSharedAlready(false); }