From ae408b6c09759f61754f3e7b39d5e5d6595c1fc4 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Wed, 07 Oct 2009 12:19:42 +0000
Subject: [PATCH] The documentation and the configuration of a Replication Domain allow a maximum value of 65535 for the server-id property. Nevertheless, the server-id in the ReplicationDomain implementation is managed as a short allowing a maximum value of 32767.

---
 opendj-sdk/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java
index 5f78d8c..bf326cd 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java
@@ -842,7 +842,7 @@
    * @param serverId   The serverID that should be checked.
    * @return           true if the serverID is local, false otherwise.
    */
-  public static boolean isLocalServerId(Short serverId)
+  public static boolean isLocalServerId(Integer serverId)
   {
     for (LDAPReplicationDomain domain : domains.values())
     {

--
Gitblit v1.10.0