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

Jean-Noel Rouvignac
23.27.2015 eeee7d47158a5e22aaf3d98f45db724ba4f60f1b
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/State.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions copyright 2011-2014 ForgeRock AS
 *      Portions copyright 2011-2015 ForgeRock AS
 */
package org.opends.server.backends.pluggable;
@@ -77,8 +77,7 @@
   * @return true if the entry was removed, false if it was not.
   * @throws StorageRuntimeException If an error occurs in the JE database.
   */
  public boolean removeIndexTrustState(WriteableStorage txn, DatabaseContainer index)
       throws StorageRuntimeException
  boolean removeIndexTrustState(WriteableStorage txn, DatabaseContainer index) throws StorageRuntimeException
  {
    ByteString key = keyForIndex(index);
    return delete(txn, key);
@@ -111,8 +110,8 @@
   * @param trusted The state value to put into the database.
   * @throws StorageRuntimeException If an error occurs in the JE database.
   */
  public void putIndexTrustState(WriteableStorage txn, DatabaseContainer index, boolean trusted)
       throws StorageRuntimeException
  void putIndexTrustState(WriteableStorage txn, DatabaseContainer index, boolean trusted)
      throws StorageRuntimeException
  {
    ByteString key = keyForIndex(index);