From 8ac57ee1cd50fcc3d02b36bea4ab1335924f1d7a Mon Sep 17 00:00:00 2001
From: Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Date: Mon, 18 May 2015 13:52:40 +0000
Subject: [PATCH] OPENDJ-1864: Ordering matching rules should reuse equality indexes where possible

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/NullIndex.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/NullIndex.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/NullIndex.java
index 4d57aac..c41a83b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/NullIndex.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/NullIndex.java
@@ -28,7 +28,6 @@
 
 import org.forgerock.opendj.ldap.ByteString;
 import org.forgerock.opendj.ldap.ConditionResult;
-import org.forgerock.opendj.ldap.spi.IndexingOptions;
 import org.opends.server.types.DirectoryException;
 import org.opends.server.types.Entry;
 import org.opends.server.types.Modification;
@@ -131,7 +130,7 @@
 
   /** {@inheritDoc} */
   @Override
-  public void addEntry(IndexBuffer buffer, EntryID entryID, Entry entry, IndexingOptions options)
+  public void addEntry(IndexBuffer buffer, EntryID entryID, Entry entry)
       throws DatabaseException, DirectoryException
   {
     // Do nothing.
@@ -139,7 +138,7 @@
 
   /** {@inheritDoc} */
   @Override
-  public void removeEntry(IndexBuffer buffer, EntryID entryID, Entry entry, IndexingOptions options)
+  public void removeEntry(IndexBuffer buffer, EntryID entryID, Entry entry)
       throws DatabaseException, DirectoryException
   {
     // Do nothing.
@@ -147,8 +146,8 @@
 
   /** {@inheritDoc} */
   @Override
-  public void modifyEntry(IndexBuffer buffer, EntryID entryID, Entry oldEntry, Entry newEntry, List<Modification> mods,
-      IndexingOptions options) throws DatabaseException
+  public void modifyEntry(IndexBuffer buffer, EntryID entryID, Entry oldEntry, Entry newEntry, List<Modification> mods)
+      throws DatabaseException
   {
     // Do nothing.
   }

--
Gitblit v1.10.0