From d491fe177f1740e7b5882569d51987a15662fc85 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 12 Jul 2007 09:30:40 +0000
Subject: [PATCH] fix for 1887 : Define new interfaces used by the synchronization provider so that LocalBackend operations are not exposed
---
opends/src/server/org/opends/server/replication/plugin/PendingChange.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/PendingChange.java b/opends/src/server/org/opends/server/replication/plugin/PendingChange.java
index a73abe0..5f8617a 100644
--- a/opends/src/server/org/opends/server/replication/plugin/PendingChange.java
+++ b/opends/src/server/org/opends/server/replication/plugin/PendingChange.java
@@ -31,7 +31,7 @@
import org.opends.server.replication.protocol.UpdateMessage;
import org.opends.server.types.DN;
import org.opends.server.types.DirectoryException;
-import org.opends.server.types.Operation;
+import org.opends.server.types.operation.PluginOperation;
/**
* This class is use to store an operation currently
@@ -42,7 +42,7 @@
private ChangeNumber changeNumber;
private boolean committed;
private UpdateMessage msg;
- private Operation op;
+ private PluginOperation op;
private ServerState dependencyState = null;
private DN targetDN = null;
@@ -53,7 +53,7 @@
* @param msg the message to use (can be null for local operations)
*/
public PendingChange(ChangeNumber changeNumber,
- Operation op,
+ PluginOperation op,
UpdateMessage msg)
{
this.changeNumber = changeNumber;
@@ -112,7 +112,7 @@
* Get the operation associated to the PendingChange.
* @return the operation
*/
- public Operation getOp()
+ public PluginOperation getOp()
{
return this.op;
}
@@ -121,7 +121,7 @@
* Set the operation asociated to this PendingChange.
* @param op The operation associated to this PendingChange.
*/
- public void setOp(Operation op)
+ public void setOp(PluginOperation op)
{
this.op = op;
}
--
Gitblit v1.10.0