From 08cb78a98bc35e0c625917d63de381b0093711f2 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 08 Aug 2016 07:31:26 +0000
Subject: [PATCH] Partial OPENDJ-3106 Migrate Entry

---
 opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java
index c415438..97fab62 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java
@@ -259,7 +259,7 @@
 
         case INCREMENT:
           // We could calculate the new value, but we'll just take it from the updated entry.
-          Attribute updatedAttr = modifyOperation.getModifiedEntry().getExactAttribute(a.getAttributeDescription());
+          Attribute updatedAttr = modifyOperation.getModifiedEntry().getAttribute(a.getAttributeDescription());
           if (updatedAttr != null)
           {
             for (ByteString v : updatedAttr)
@@ -441,7 +441,7 @@
 
         case INCREMENT:
           // We could calculate the new value, but we'll just take it from the updated entry.
-          Attribute updatedAttr = modifyOperation.getModifiedEntry().getExactAttribute(a.getAttributeDescription());
+          Attribute updatedAttr = modifyOperation.getModifiedEntry().getAttribute(a.getAttributeDescription());
           if (updatedAttr != null)
           {
             for (ByteString v : updatedAttr)
@@ -813,7 +813,7 @@
 
         case INCREMENT:
           // We could calculate the new value, but we'll just take it from the updated entry.
-          Attribute updatedAttr = modifyOperation.getModifiedEntry().getExactAttribute(a.getAttributeDescription());
+          Attribute updatedAttr = modifyOperation.getModifiedEntry().getAttribute(a.getAttributeDescription());
           if (updatedAttr != null)
           {
             for (ByteString v : updatedAttr)

--
Gitblit v1.10.0