From 453b264d219e81d07a55a62f9b1a567504182ab0 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Fri, 19 Jun 2009 07:55:22 +0000
Subject: [PATCH] Increase replication protocol version to 3 + code cleaning
---
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java b/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
index 9e4b6e5..042f5a2 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
+++ b/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;
}
/**
--
Gitblit v1.10.0