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

Jean-Noel Rouvignac
07.43.2015 4cd06b3633e335f68d6cad0ad2483246076775b4
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/IndexQueryFactoryImpl.java
@@ -81,7 +81,7 @@
        {
          // Read the database and get Record for the key.
          // Select the right index to be used.
          final Index index = attributeIndex.getIndexById(indexID);
          final Index index = attributeIndex.getNameToIndexes().get(indexID);
          if (index == null)
          {
            if(debugMessage != null)
@@ -117,8 +117,7 @@
      @Override
      public EntryIDSet evaluate(LocalizableMessageBuilder debugMessage)
      {
        // Find the right index.
        final Index index = attributeIndex.getIndexById(indexID);
        final Index index = attributeIndex.getNameToIndexes().get(indexID);
        if (index == null)
        {
          if (debugMessage != null)
@@ -265,7 +264,7 @@
        public EntryIDSet evaluate(LocalizableMessageBuilder debugMessage)
        {
          final String indexID = PRESENCE_INDEX_KEY;
          final Index index = attributeIndex.getIndexById(indexID);
          final Index index = attributeIndex.getNameToIndexes().get(indexID);
          if (index == null)
          {
            if(debugMessage != null)