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

Jean-Noël Rouvignac
20.42.2016 61b9eb1be03fc03a9f4bb0013a08ff44a1059503
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/GenerationIdChecksum.java
@@ -12,7 +12,7 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2008-2010 Sun Microsystems, Inc.
 * Portions Copyright 2015 ForgeRock AS.
 * Portions Copyright 2015-2016 ForgeRock AS.
 */
package org.opends.server.replication.plugin;
@@ -49,13 +49,13 @@
    }
  }
  /** {@inheritDoc} */
  @Override
  public void update(int b)
  {
    updateWithOneByte((byte) b);
  }
  /** {@inheritDoc} */
  @Override
  public void update(byte[] b, int off, int len)
  {
    for (int i = off; i < off + len; i++)
@@ -64,7 +64,7 @@
    }
  }
  /** {@inheritDoc} */
  @Override
  public long getValue()
  {
    if (checksum != 0L)
@@ -83,7 +83,7 @@
    }
  }
  /** {@inheritDoc} */
  @Override
  public void reset()
  {
    checksum = 0L;