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

matthew_swift
28.47.2010 cc556edc003e4fb8df13611167fab0d9fd3890f9
opendj-sdk/sdk/src/org/opends/sdk/schema/AbstractOrderingMatchingRuleImpl.java
@@ -47,14 +47,13 @@
  @Override
  public Assertion getAssertion(Schema schema, ByteSequence value)
  public Assertion getAssertion(final Schema schema, final ByteSequence value)
      throws DecodeException
  {
    final ByteString normAssertion =
        normalizeAttributeValue(schema, value);
    final ByteString normAssertion = normalizeAttributeValue(schema, value);
    return new Assertion()
    {
      public ConditionResult matches(ByteSequence attributeValue)
      public ConditionResult matches(final ByteSequence attributeValue)
      {
        return attributeValue.compareTo(normAssertion) < 0 ? ConditionResult.TRUE
            : ConditionResult.FALSE;
@@ -65,14 +64,13 @@
  @Override
  public Assertion getGreaterOrEqualAssertion(Schema schema,
      ByteSequence value) throws DecodeException
  public Assertion getGreaterOrEqualAssertion(final Schema schema,
      final ByteSequence value) throws DecodeException
  {
    final ByteString normAssertion =
        normalizeAttributeValue(schema, value);
    final ByteString normAssertion = normalizeAttributeValue(schema, value);
    return new Assertion()
    {
      public ConditionResult matches(ByteSequence attributeValue)
      public ConditionResult matches(final ByteSequence attributeValue)
      {
        return attributeValue.compareTo(normAssertion) >= 0 ? ConditionResult.TRUE
            : ConditionResult.FALSE;
@@ -83,14 +81,13 @@
  @Override
  public Assertion getLessOrEqualAssertion(Schema schema,
      ByteSequence value) throws DecodeException
  public Assertion getLessOrEqualAssertion(final Schema schema,
      final ByteSequence value) throws DecodeException
  {
    final ByteString normAssertion =
        normalizeAttributeValue(schema, value);
    final ByteString normAssertion = normalizeAttributeValue(schema, value);
    return new Assertion()
    {
      public ConditionResult matches(ByteSequence attributeValue)
      public ConditionResult matches(final ByteSequence attributeValue)
      {
        return attributeValue.compareTo(normAssertion) <= 0 ? ConditionResult.TRUE
            : ConditionResult.FALSE;