question: public void removeAttribute ( String attrName ) throws SMSException { Set attribute = ( Set ) attrSet . get ( attrName ) ; if ( attribute == null ) { throw ( new SMSException ( LdapException . newLdapException ( ResultCode . ATTRIBUTE_OR_VALUE_EXISTS , getBundleString ( IUMSConstants . SMS_ATTR_OR_VAL_EXISTS ) ) , "sms-ATTR_OR_VAL_EXISTS" ) ) ; } attrSet . remove ( attrName ) ; if ( modSet == null ) { modSet = new HashSet ( ) ; } BasicAttribute ba = new BasicAttribute ( attrName , attribute ) ; for ( Iterator items = attribute . iterator ( ) ; items . hasNext ( ) ; ) ba . add ( items . next ( ) ) ; modSet . add ( new ModificationItem ( DirContext . REMOVE_ATTRIBUTE , ba ) ) ; }
target:  Remove the attribute from the entry.