mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
14.19.2014 04c1aca24a2cc5dc8d9a4f22ba05ac74de607f06
opendj3-server-dev/src/server/org/opends/server/schema/CollationMatchingRuleFactory.java
@@ -863,7 +863,7 @@
     * {@inheritDoc}
     */
    @Override
    public ByteString normalizeValue(ByteSequence value)
    public ByteString normalizeAttributeValue(ByteSequence value)
        throws DirectoryException
    {
      CollationKey key = collator.getCollationKey(value.toString());
@@ -900,7 +900,7 @@
    {
      // Normalize the assertion value.
      return factory.createExactMatchQuery(indexer
          .getExtensibleIndexID(), normalizeValue(assertionValue));
          .getExtensibleIndexID(), normalizeAttributeValue(assertionValue));
    }
@@ -959,7 +959,7 @@
     * {@inheritDoc}
     */
    @Override
    public ByteString normalizeValue(ByteSequence value)
    public ByteString normalizeAttributeValue(ByteSequence value)
        throws DirectoryException
    {
      CollationKey key = collator.getCollationKey(value.toString());
@@ -1711,7 +1711,7 @@
     * {@inheritDoc}
     */
    @Override
    public ByteString normalizeValue(ByteSequence value)
    public ByteString normalizeAttributeValue(ByteSequence value)
        throws DirectoryException
    {
      CollationKey key = collator.getCollationKey(value.toString());
@@ -1805,7 +1805,7 @@
    {
      return factory.createRangeMatchQuery(indexer
          .getExtensibleIndexID(), ByteString.empty(),
          normalizeValue(assertionValue), false, false);
          normalizeAttributeValue(assertionValue), false, false);
    }
  }
@@ -1874,7 +1874,7 @@
      // Read the range: lower < keys <= upper.
      return factory.createRangeMatchQuery(indexer
          .getExtensibleIndexID(), ByteString.empty(),
          normalizeValue(assertionValue), false, true);
          normalizeAttributeValue(assertionValue), false, true);
    }
  }
@@ -1941,7 +1941,7 @@
        IndexQueryFactory<T> factory) throws DirectoryException
    {
      return factory.createRangeMatchQuery(indexer
          .getExtensibleIndexID(), normalizeValue(assertionValue),
          .getExtensibleIndexID(), normalizeAttributeValue(assertionValue),
          ByteString.empty(), false, false);
    }
  }
@@ -2010,7 +2010,7 @@
    {
      // Read the range: lower <= keys < upper.
      return factory.createRangeMatchQuery(indexer
          .getExtensibleIndexID(), normalizeValue(assertionValue),
          .getExtensibleIndexID(), normalizeAttributeValue(assertionValue),
          ByteString.empty(), true, false);
    }
  }
@@ -2065,7 +2065,7 @@
      ByteString key;
      try
      {
        key = matchingRule.normalizeValue(value.getValue());
        key = matchingRule.normalizeAttributeValue(value.getValue());
        keys.add(key.toByteArray());
      }
      catch (DirectoryException de)