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

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/GenerationIdChecksum.java
@@ -53,7 +53,7 @@
     * the same checksum value on every platforms, we always exclude the CR and
     * LF characters from the computation.
     */
    if ((b != 0x0D) && (b != 0x0A)) // CR=0D and LF=0A
    if (b != 0x0D && b != 0x0A) // CR=0D and LF=0A
    {
      checksum += b;
    }
@@ -68,7 +68,7 @@
  /** {@inheritDoc} */
  public void update(byte[] b, int off, int len)
  {
    for (int i = off; i < (off + len); i++)
    for (int i = off; i < off + len; i++)
    {
      updateWithOneByte(b[i]);
    }