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

boli
26.31.2007 f8ef0eed366445c5a341dbcc7882a7104c1cac1b
opends/src/server/org/opends/server/backends/jeb/State.java
@@ -117,8 +117,10 @@
  public boolean getIndexTrustState(Transaction txn, Index index)
      throws DatabaseException
  {
    String sortName =
        index.getName().replace(entryContainer.getDatabasePrefix(), "");
    DatabaseEntry key =
        new DatabaseEntry(StaticUtils.getBytes(index.getName()));
        new DatabaseEntry(StaticUtils.getBytes(sortName));
    DatabaseEntry data = new DatabaseEntry();
    OperationStatus status;
@@ -145,8 +147,10 @@
                                    boolean trusted)
       throws DatabaseException
  {
    String sortName =
        index.getName().replace(entryContainer.getDatabasePrefix(), "");
    DatabaseEntry key =
        new DatabaseEntry(StaticUtils.getBytes(index.getName()));
        new DatabaseEntry(StaticUtils.getBytes(sortName));
    DatabaseEntry data = new DatabaseEntry();
    if(trusted)
@@ -162,4 +166,6 @@
    }
    return true;
  }
  // TODO: Make sure to update the VLV state access methods to use shortname.
}