src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java
/**
     * Renames the specified group according to the specified new name..
     * @param groupToRename the group that we'd like removed.
     * @param newName the new name of the group
     */
Renames the specified group according to the specified new name
@param groupToRename the group that we'd like removed.
@param newName the new name of the group
Renames the specified group according to the specified new name @param groupToRename the group that we ' d like removed . @param newName the new name of the group
public void renameGroup(ContactGroupJabberImpl groupToRename, String newName)
    {
        try
        {
            groupToRename.getSourceGroup().setName(newName);
        }
        catch (NotConnectedException
                | NoResponseException
                | InterruptedException
                | XMPPErrorException e)
        {
            logger.error("Could not rename " + groupToRename + " to " + newName);
        }
        groupToRename.setNameCopy(newName);
    }
public void renameGroup ( ContactGroupJabberImpl groupToRename , String newName ) { try { groupToRename . getSourceGroup ( ) . setName ( newName ) ; } catch ( NotConnectedException | NoResponseException | InterruptedException | XMPPErrorException e ) { logger . error ( "Could not rename " + groupToRename + " to " + newName ) ; } groupToRename . setNameCopy ( newName ) ; }
Renames the specified group according to the specified new name..
 @param groupToRename the group that we'd like removed.
Renames the specified group according to the specified new name .. @param groupToRename the group that we ' d like removed .