return comparator
.compare( getNormalizedValueReference(), binaryValue.getNormalizedValueReference() );
}
else
{
return new ByteArrayComparator( null ).compare( getNormalizedValueReference(), binaryValue
.getNormalizedValueReference() );
}
}
catch ( LdapException e )
{
String msg = I18n.err( I18n.ERR_04443, Arrays.toString( getReference() ), value );
LOG.error( msg, e );
throw new IllegalStateException( msg, e );
}
}
else
{
return new ByteArrayComparator( null ).compare( getNormalizedValue(), binaryValue.getNormalizedValue() );
}
}