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

Jean-Noel Rouvignac
24.49.2015 99aaa917a95d7ec19e14dad25f61f58ff84753b1
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
@@ -22,6 +22,7 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2015 ForgeRock AS.
 */
package org.opends.server.replication.plugin;
@@ -38,14 +39,14 @@
public class ReplLDIFOutputStream
       extends OutputStream
{
  // The number of entries to be exported
  /** The number of entries to be exported. */
  long numEntries;
  // The current number of entries exported
  /** The current number of entries exported. */
  private long numExportedEntries;
  String entryBuffer = "";
  // The checksum for computing the generation id
  /** The checksum for computing the generation id. */
  private GenerationIdChecksum checkSum = new GenerationIdChecksum();
  /**
@@ -59,9 +60,7 @@
    this.numEntries = numEntries;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void write(int i) throws IOException
  {
    throw new IOException("Invalid call");
@@ -76,9 +75,7 @@
    return checkSum.getValue();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void write(byte b[], int off, int len) throws IOException
  {
    int endOfEntryIndex;