From 336216b4c92152c238c15eec5dae83cb69cd28d1 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 17 Feb 2014 15:27:03 +0000
Subject: [PATCH] OPENDJ-1308 Migrate schema support

---
 opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrHistoricalSingle.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrHistoricalSingle.java b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrHistoricalSingle.java
index 39900e1..7ecc2a0 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrHistoricalSingle.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrHistoricalSingle.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2008-2010 Sun Microsystems, Inc.
- *      Portions Copyright 2011-2013 ForgeRock AS
+ *      Portions Copyright 2011-2014 ForgeRock AS
  */
 package org.opends.server.replication.plugin;
 
@@ -30,6 +30,7 @@
 import java.util.Iterator;
 import java.util.Map;
 
+import org.forgerock.opendj.ldap.ModificationType;
 import org.opends.server.replication.common.CSN;
 import org.opends.server.types.*;
 
@@ -95,7 +96,7 @@
       newValue = modAttr.iterator().next();
     }
 
-    switch (mod.getModificationType())
+    switch (mod.getModificationType().asEnum())
     {
     case DELETE:
       this.addTime = null;
@@ -149,7 +150,7 @@
       newValue = modAttr.iterator().next();
     }
 
-    switch (mod.getModificationType())
+    switch (mod.getModificationType().asEnum())
     {
     case DELETE:
       if (csn.isNewerThan(addTime))

--
Gitblit v1.10.0