src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java
/**
         * Checks the entry and the contact whether the display name has changed.
         * @param newValue new display name value
         * @param contact the contact to check
         */
Checks the entry and the contact whether the display name has changed.
@param newValue new display name value
@param contact the contact to check
Checks the entry and the contact whether the display name has changed . @param newValue new display name value @param contact the contact to check
private void checkForRename(String newValue,
                                    ContactJabberImpl contact)
        {
            if(newValue != null
               && !newValue.equals(
                    contact.getServerDisplayName()))
            {
                String oldValue = contact.getServerDisplayName();
                contact.setServerDisplayName(newValue);
                parentOperationSet.fireContactPropertyChangeEvent(
                    ContactPropertyChangeEvent.PROPERTY_DISPLAY_NAME,
                    contact, oldValue, newValue);
            }
        }
private void checkForRename ( String newValue , ContactJabberImpl contact ) { if ( newValue != null && ! newValue . equals ( contact . getServerDisplayName ( ) ) ) { String oldValue = contact . getServerDisplayName ( ) ; contact . setServerDisplayName ( newValue ) ; parentOperationSet . fireContactPropertyChangeEvent ( ContactPropertyChangeEvent . PROPERTY_DISPLAY_NAME , contact , oldValue , newValue ) ; } }
Checks the entry and the contact whether the display name has changed.
Checks the entry and the contact whether the display name has changed .
// check for change in display name