docs: @Override
  	public String[] getNamesOfModifiedAttributes() {
  
  		List<String> tmpList = new ArrayList<String>();
  
  		NamingEnumeration<? extends Attribute> attributesEnumeration;
  		if (isUpdateMode()) {
  			attributesEnumeration = updatedAttrs.getAll();
  		}
  		else {
  			attributesEnumeration = originalAttrs.getAll();
  		}
  
  		try {
  			while (attributesEnumeration.hasMore()) {
  				Attribute oneAttribute = attributesEnumeration
  						.next();
  				tmpList.add(oneAttribute.getID());
  			}
  		}
  		catch (NamingException e) {
  			throw LdapUtils.convertLdapException(e);
  		}
  		finally {
  			closeNamingEnumeration(attributesEnumeration);
  		}
  
  		return tmpList.toArray(new String[tmpList.size()]);
  	}