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

Nicolas Capponi
08.33.2014 8643a9160860e31611f034467f702eb3a712eb34
opendj3-server-dev/src/server/org/opends/server/backends/jeb/DataConfig.java
@@ -22,12 +22,13 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 */
package org.opends.server.backends.jeb;
import org.opends.server.types.EntryEncodeConfig;
import static org.opends.server.util.Validator.*;
import static org.forgerock.util.Reject.*;
/**
 * Configuration class to indicate desired compression and cryptographic options
@@ -61,7 +62,7 @@
    if (compressedSchema == null)
    {
      ensureTrue(! compactEncoding);
      ifFalse(! compactEncoding);
      this.encodeConfig = new EntryEncodeConfig(false, compactEncoding, false);
    }
    else
@@ -115,7 +116,7 @@
  {
    if (compressedSchema == null)
    {
      ensureTrue(! compactEncoding);
      ifFalse(! compactEncoding);
      this.encodeConfig = new EntryEncodeConfig(false, compactEncoding,
                                                compactEncoding);
    }