From 0f7f7b8d5e655ccd36aca7d9a3c425dfcd23ad62 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 23 Dec 2013 15:45:05 +0000
Subject: [PATCH] Fix feature envy between ListenerThread and ReplicationDomain
---
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
index 754dcec..5dbbd5c 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -4535,7 +4535,7 @@
/** {@inheritDoc} */
@Override
- public boolean processUpdate(UpdateMsg updateMsg, AtomicBoolean shutdown)
+ public boolean processUpdate(UpdateMsg updateMsg)
{
// Ignore message if fractional configuration is inconsistent and
// we have been passed into bad data set status
@@ -4569,7 +4569,7 @@
// Put update message into the replay queue
// (block until some place in the queue is available)
final UpdateToReplay updateToReplay = new UpdateToReplay(msg, this);
- while (!shutdown.get())
+ while (!isListenerShuttingDown())
{
// loop until we can offer to the queue or shutdown was initiated
try
--
Gitblit v1.10.0