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

boli
09.20.2007 81c0eef4f2ae79b193c55ec6b75137425bb3afea
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/Index.java
@@ -153,7 +153,7 @@
    this.state = state;
    this.trusted = state.getIndexTrustState(null, this);
    if(!trusted && entryContainer.getEntryCount() <= 0)
    if(!trusted && entryContainer.getHighestEntryID().equals(new EntryID(0)))
    {
      // If there are no entries in the entry container then there
      // is no reason why this index can't be upgraded to trusted.