if ( schemaManager.getMatchingRuleRegistry().contains( oldOid ) )
{
throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM,
I18n.err( I18n.ERR_353, oldOid ) );
}
<BUG>String oid = newRdn.getNormValue().getString();
checkOidIsUniqueForComparator( oid );</BUG>
String schemaName = getSchemaName( entry.getDn() );
if ( isSchemaEnabled( schemaName ) )
{

if ( schemaManager.getMatchingRuleRegistry().contains( oldOid ) )
{
throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM,
I18n.err( I18n.ERR_353, oldOid ) );
}
String oid = newRdn.getNormValue();
checkOidIsUniqueForComparator( oid );
String schemaName = getSchemaName( entry.getDn() );
if ( isSchemaEnabled( schemaName ) )
{
