From f48282bf285ec58ba1911cfe3a3551ec9b86485d Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Wed, 13 Jan 2010 10:18:08 +0000
Subject: [PATCH] Fix potential NPE on stopRSHeartBeatMonitoring in unit test and document service 

---
 opends/src/server/org/opends/server/replication/service/ReplicationDomain.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java b/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
index 96bc116..ee1f043 100644
--- a/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
+++ b/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2008-2009 Sun Microsystems, Inc.
+ *      Copyright 2008-2010 Sun Microsystems, Inc.
  */
 package org.opends.server.replication.service;
 
@@ -2390,7 +2390,7 @@
    * It can be useful to disable the Replication Service when the
    * repository where the replicated information is stored becomes
    * temporarily unavailable and replicated updates can therefore not
-   * be replayed during a while.
+   * be replayed during a while. This method is not MT safe.
    */
   public void disableService()
   {
@@ -2420,7 +2420,7 @@
    * If some data have changed in the repository during the period of time when
    * the Replication Service was disabled, this {@link ServerState} should
    * therefore be updated by the Replication Domain subclass before calling
-   * this method.
+   * this method. This method is not MT safe.
    */
   public void enableService()
   {

--
Gitblit v1.10.0