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

mmarie
18.35.2008 d93627ee43ca3e694a7c4275d63c0571c4ec83dd
opends/src/server/org/opends/server/replication/service/ReplInputStream.java
@@ -146,11 +146,18 @@
   *                       use by this input stream.
   */
  public int read()
         throws IOException
          throws IOException
  {
    // This method is not supposed to be called to make an LDIF import
    // for replication.
    throw new IOException("Not implemented");
    if (closed) {
      return -1;
    }
    byte[] b = new byte[1];
    if (read(b, 0, 1) == 0) {
      throw new IOException();
    }
    return ((int)b[0]);
  }
}