Attribute changedEntryAttr = entry.get( change.getID() );
Attribute changedEntryAttr = ( Attribute ) entry.get( change.getID() ).clone();
    private boolean isCompleteRemoval( Attribute change, Attributes entry ) throws NamingException    {        // if change size is 0 then all values are deleted then we're screwed        if ( change.size() == 0 )        {            return true;        }        // can't do math to figure our if all values are removed since some        // values in the modify request may not be in the entry.  we need to        // remove the values from a cloned version of the attribute and see        // if nothing is left.        Attribute changedEntryAttr = entry.get( change.getID() );        for ( int jj = 0; jj < change.size(); jj++ )        {            changedEntryAttr.remove( change.get( jj ) );        }        return changedEntryAttr.size() == 0;    }