From b6da5b01e2f66861a485ed7b48fa887410cecb69 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 10 Oct 2006 12:57:52 +0000
Subject: [PATCH] Fix two null pointer Exception that can happen in the conflict resolution code when - replaying a modify operation on an entry that has already been deleted (778) - replaying a modify DN operation to rename an entry below a parent that does not exist anymore. (775)

---
 opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java b/opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java
index c794f4d..6436bc4 100644
--- a/opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java
+++ b/opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java
@@ -246,4 +246,24 @@
   {
     newSuperior = string;
   }
+
+  /**
+   * Get the new RDN of this operation.
+   *
+   * @return The new RDN of this operation.
+   */
+  public String getNewRDN()
+  {
+    return newRDN;
+  }
+
+  /**
+   * Set the new RDN of this operation.
+   * @param newRDN the new RDN of this operation.
+   */
+  public void setNewRDN(String newRDN)
+  {
+    this.newRDN = newRDN;
+  }
+
 }

--
Gitblit v1.10.0