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

Valery Kharseko
5 hours ago bfed0b8f320aa15d24da84ffe117d166a5b062bd
opendj-server-legacy/src/main/java/org/opends/server/replication/common/CSN.java
@@ -13,6 +13,7 @@
 *
 * Copyright 2006-2009 Sun Microsystems, Inc.
 * Portions Copyright 2013-2015 ForgeRock AS.
 * Portions Copyright 2026 3A Systems, LLC.
 */
package org.opends.server.replication.common;
@@ -319,11 +320,11 @@
    }
    else if (csn1.seqnum != csn2.seqnum)
    {
      return csn1.seqnum - csn2.seqnum;
      return Integer.compare(csn1.seqnum, csn2.seqnum);
    }
    else
    {
      return csn1.serverId - csn2.serverId;
      return Integer.compare(csn1.serverId, csn2.serverId);
    }
  }