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

pgamba
19.55.2009 453b264d219e81d07a55a62f9b1a567504182ab0
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.replication.protocol;
@@ -47,6 +47,11 @@
  public static final short REPLICATION_PROTOCOL_V2 = 2;
  /**
   * The constant for the 3rd version of the replication protocol.
   */
  public static final short REPLICATION_PROTOCOL_V3 = 3;
  /**
   * The replication protocol version used by the instance of RS/DS in this VM.
   */
  private static short currentVersion = -1;
@@ -81,7 +86,7 @@
   */
  public static void resetCurrentVersion()
  {
    currentVersion = REPLICATION_PROTOCOL_V2;
    currentVersion = REPLICATION_PROTOCOL_V3;
  }
  /**