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

pgamba
19.55.2009 0a15c3e6aa9e1fa7fc20f730b3fcf6400fa86e85
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;
  }
  /**