src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java
/**
     * Find a group with the specified Copy of Name. Used to track when
     * a group name has changed
     * @param name String
     * @return ContactGroupJabberImpl
     */
Find a group with the specified Copy of Name. Used to track when
a group name has changed
@param name String
@return ContactGroupJabberImpl
Find a group with the specified Copy of Name . Used to track when a group name has changed @param name String @return ContactGroupJabberImpl
private ContactGroupJabberImpl findContactGroupByNameCopy(String name)
    {
        Iterator<ContactGroup> contactGroups = rootGroup.subgroups();
        name = name.trim();
        while(contactGroups.hasNext())
        {
            ContactGroupJabberImpl contactGroup
                = (ContactGroupJabberImpl) contactGroups.next();
            if (contactGroup.getNameCopy() != null
                && contactGroup.getNameCopy().trim().equals(name))
                return contactGroup;
        }
        return null;
    }
private ContactGroupJabberImpl findContactGroupByNameCopy ( String name ) { Iterator < ContactGroup > contactGroups = rootGroup . subgroups ( ) ; name = name . trim ( ) ; while ( contactGroups . hasNext ( ) ) { ContactGroupJabberImpl contactGroup = ( ContactGroupJabberImpl ) contactGroups . next ( ) ; if ( contactGroup . getNameCopy ( ) != null && contactGroup . getNameCopy ( ) . trim ( ) . equals ( name ) ) return contactGroup ; } return null ; }
Find a group with the specified Copy of Name.
Find a group with the specified Copy of Name .
// make sure we ignore any whitespaces