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

Ludovic Poitou
24.44.2013 46fd9423ab622d7f9531aa1564846ec52fe09534
opends/src/server/org/opends/server/replication/service/ReplInputStream.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2013 ForgeRock AS.
 */
package org.opends.server.replication.service;
@@ -124,10 +125,7 @@
      copiedLength = len;
    }
    for (int i =0; i<copiedLength; i++)
    {
      b[off+i] = bytes[index+i];
    }
    System.arraycopy(bytes, index, b, off, copiedLength);
    index += copiedLength;
    if (index == bytes.length)