From 0dad0bb4e877952cb0f631585f9bb733500f42ed Mon Sep 17 00:00:00 2001
From: sin <sin@localhost>
Date: Tue, 17 Feb 2009 16:11:27 +0000
Subject: [PATCH] issue# 3774: Sort control doesn't work for collation matching rules
---
opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java | 35 +++--------------------------------
1 files changed, 3 insertions(+), 32 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java b/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java
index 978ac53..93d9b8d 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java
@@ -43,7 +43,9 @@
mayInstantiate=false,
mayExtend=true,
mayInvoke=false)
-public abstract class SubstringMatchingRule extends MatchingRule
+public abstract class SubstringMatchingRule
+ extends AbstractMatchingRule
+ implements MatchingRule
{
/**
* Normalizes the provided value fragment into a form that can be
@@ -174,36 +176,5 @@
return true;
}
-
-
-
- /**
- * Indicates whether the provided attribute value should be
- * considered a match for the given assertion value. This will only
- * be used for the purpose of extensible matching.
- * <BR><BR>
- * Note that substring matching rules by default do not support
- * extensible matching, and therefore this method will always return
- * {@code UNDEFINED}. If a substring matching rule does support
- * extensible matching operations, then it should override this
- * method and provide an appropriate implementation.
- *
- * @param attributeValue The attribute value in a form that has
- * been normalized according to this
- * matching rule.
- * @param assertionValue The assertion value in a form that has
- * been normalized according to this
- * matching rule.
- *
- * @return {@code true} if the attribute value should be considered
- * a match for the provided assertion value, or
- * {@code false} if not.
- */
- @Override
- public ConditionResult valuesMatch(ByteSequence attributeValue,
- ByteSequence assertionValue)
- {
- return ConditionResult.UNDEFINED;
- }
}
--
Gitblit v1.10.0