From 78e976de8a533942ebc55bf5808c4e5e1de7469c Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 04 Apr 2014 10:26:17 +0000
Subject: [PATCH] OPENDJ-1308 Migrate schema support

---
 opendj3-server-dev/src/server/org/opends/server/api/AbstractMatchingRule.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/api/AbstractMatchingRule.java b/opendj3-server-dev/src/server/org/opends/server/api/AbstractMatchingRule.java
index 1a871cc..cbf2c28 100644
--- a/opendj3-server-dev/src/server/org/opends/server/api/AbstractMatchingRule.java
+++ b/opendj3-server-dev/src/server/org/opends/server/api/AbstractMatchingRule.java
@@ -183,13 +183,22 @@
       throws DecodeException
   {
     final ByteString assertionValue = normalizeAssertionValue(value);
-    return new NotImplementedAssertion()
+    return new Assertion()
     {
+      /** {@inheritDoc} */
       @Override
       public ConditionResult matches(ByteSequence attributeValue)
       {
         return valuesMatch(attributeValue, assertionValue);
       }
+
+      /** {@inheritDoc} */
+      @Override
+      public <T> T createIndexQuery(IndexQueryFactory<T> factory)
+          throws DecodeException
+      {
+        throw new RuntimeException("Not implemented");
+      }
     };
   }
 

--
Gitblit v1.10.0