From c8b1165dbfbee716e8163f42301c650b370248af Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 21 Feb 2012 15:49:01 +0000
Subject: [PATCH] Initial cleanup work for OPENDJ-181: DirectoryException provided value has an invalid length for a UUID

---
 opends/src/server/org/opends/server/replication/protocol/AddContext.java |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/AddContext.java b/opends/src/server/org/opends/server/replication/protocol/AddContext.java
index a3093e4..326a2f4 100644
--- a/opends/src/server/org/opends/server/replication/protocol/AddContext.java
+++ b/opends/src/server/org/opends/server/replication/protocol/AddContext.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Portions copyright 2012 ForgeRock AS.
  */
 package org.opends.server.replication.protocol;
 
@@ -37,19 +38,20 @@
   /**
    * The Unique Id of the parent entry of the added entry.
    */
-  private String parentUid;
+  private String parentEntryUUID;
 
   /**
    * Creates a new AddContext with the provided information.
    *
    * @param changeNumber The change number of the add operation.
-   * @param uid the Unique Id of the added entry.
-   * @param parentUid The unique Id of the parent of the added entry.
+   * @param entryUUID the Unique Id of the added entry.
+   * @param parentEntryUUID The unique Id of the parent of the added entry.
    */
-  public AddContext(ChangeNumber changeNumber, String uid, String parentUid)
+  public AddContext(ChangeNumber changeNumber, String entryUUID,
+      String parentEntryUUID)
   {
-    super(changeNumber, uid);
-    this.parentUid = parentUid;
+    super(changeNumber, entryUUID);
+    this.parentEntryUUID = parentEntryUUID;
   }
 
   /**
@@ -57,8 +59,8 @@
    *
    * @return Returns the Unique Id of the parent of the added entry.
    */
-  public String getParentUid()
+  public String getParentEntryUUID()
   {
-    return parentUid;
+    return parentEntryUUID;
   }
 }

--
Gitblit v1.10.0