From 46fd9423ab622d7f9531aa1564846ec52fe09534 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Wed, 24 Apr 2013 12:44:51 +0000
Subject: [PATCH] Replication Cleanup.
---
opends/src/server/org/opends/server/replication/protocol/MonitorMsg.java | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/protocol/MonitorMsg.java b/opends/src/server/org/opends/server/replication/protocol/MonitorMsg.java
index 138b2b1..c20d33a 100644
--- a/opends/src/server/org/opends/server/replication/protocol/MonitorMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/MonitorMsg.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2009 Sun Microsystems, Inc.
+ * Portions Copyright 2013 ForgeRock AS.
*/
package org.opends.server.replication.protocol;
@@ -45,7 +46,7 @@
/**
* This message is part of the replication protocol.
* RS1 sends a MonitorRequestMessage to RS2 to requests its monitoring
- * informations.
+ * information.
* When RS2 receives a MonitorRequestMessage from RS1, RS2 responds with a
* MonitorMsg.
*/
@@ -64,7 +65,7 @@
/**
* Data structure to manage the state of this replication server
- * and the state informations for the servers connected to it.
+ * and the state information for the servers connected to it.
*
*/
class SubTopoMonitorData
@@ -120,7 +121,7 @@
}
/**
- * Sets the informations of an LDAP server.
+ * Sets the information of an LDAP server.
* @param serverId The serverID.
* @param state The server state.
* @param approxFirstMissingDate The approximation of the date
@@ -313,8 +314,7 @@
}
asn1Reader.readEndSequence();
} catch(Exception e)
- {
-
+ { /* do nothing */
}
}
@@ -374,7 +374,7 @@
}
writer.writeEndSequence();
- // then the LDAP server datas
+ // then the LDAP server data
Set<Integer> servers = data.ldapStates.keySet();
for (Integer sid : servers)
{
@@ -512,11 +512,10 @@
sd.state.toString() + "]" +
" afmd=" + sd.approxFirstMissingDate + "]";
}
- String me = this.getClass().getCanonicalName() +
+ return this.getClass().getCanonicalName() +
"[ sender=" + this.senderID +
" destination=" + this.destination +
" data=[" + stateS + "]" +
"]";
- return me;
}
}
--
Gitblit v1.10.0