From 15639797b80c1667a0e91d0e467227da95d3cd49 Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Fri, 18 Jul 2014 08:31:54 +0000
Subject: [PATCH] Fix OPENDJ-1516: Trunk sends MSG_TYPE_REPLICA_OFFLINE messages to a v7 DS

---
 opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java b/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java
index 959bcb6..3fef9a1 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java
@@ -107,7 +107,8 @@
    * @param protocolVersion
    *          The protocol version to use for serialization. The version should
    *          normally be older than the current one.
-   * @return The encoded PDU.
+   * @return The encoded PDU, or <code>null</code> if the message isn't supported
+   *          in that protocol version.
    */
   public abstract byte[] getBytes(short protocolVersion);
 

--
Gitblit v1.10.0