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

Jean-Noel Rouvignac
24.21.2015 d12a783ffe81907793eb973bc16deae8617db544
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/IndexOutputBuffer.java
@@ -26,6 +26,9 @@
 */
package org.opends.server.backends.pluggable;
import static org.opends.server.backends.pluggable.ImportRecord.*;
import static org.opends.server.util.StaticUtils.*;
import java.io.ByteArrayOutputStream;
import org.forgerock.opendj.ldap.ByteSequence;
@@ -60,17 +63,6 @@
 */
final class IndexOutputBuffer implements Comparable<IndexOutputBuffer> {
  /** The number of bytes of a Java int. */
  static final int INT_SIZE = 4;
  /** The number of bytes of a Java long. */
  static final int LONG_SIZE = 8;
  /**
   * The record overhead. In addition to entryID, key length and key bytes, the
   * record overhead includes the INS/DEL bit + indexID
   */
  private static final int REC_OVERHEAD = 1 + INT_SIZE;
  /** Buffer records are either insert records or delete records. */
  private static final byte DEL = 0, INS = 1;