From 3be10ed8b0013d8f8b1393f076573fde548095c2 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Fri, 10 Jul 2009 13:39:29 +0000
Subject: [PATCH] rename cookie attribute to changeLogCookie & fix debug enabled by mistake

---
 opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLSearchOperation.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLSearchOperation.java b/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLSearchOperation.java
index 0ed7354..7091dd2 100644
--- a/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLSearchOperation.java
+++ b/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLSearchOperation.java
@@ -939,7 +939,7 @@
     // MUST attributes
 
     // ECL Changelog draft change number
-    Attribute a = Attributes.create("changeNumber",
+    Attribute a = Attributes.create("changenumber",
         String.valueOf(draftChangenumber));
     attrList = new ArrayList<Attribute>(1);
     attrList.add(a);
@@ -950,7 +950,7 @@
     dateFormat = new SimpleDateFormat(DATE_FORMAT_GMT_TIME);
     dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); // ??
     a = Attributes.create(
-        DirectoryServer.getAttributeType("changeTime", true),
+        DirectoryServer.getAttributeType("changetime", true),
         dateFormat.format(new Date(changeNumber.getTime())));
     attrList = new ArrayList<Attribute>(1);
     attrList.add(a);
@@ -965,7 +965,7 @@
     */
 
     //
-    a = Attributes.create("changeType", changetype);
+    a = Attributes.create("changetype", changetype);
     attrList = new ArrayList<Attribute>(1);
     attrList.add(a);
     uAttrs.put(a.getAttributeType(), attrList);
@@ -980,13 +980,13 @@
 
     // MAY attributes
 
-    a = Attributes.create("replicationCSN", changeNumber.toString());
+    a = Attributes.create("replicationcsn", changeNumber.toString());
     attrList = new ArrayList<Attribute>(1);
     attrList.add(a);
     operationalAttrs.put(a.getAttributeType(), attrList);
 
     //
-    a = Attributes.create("replicaIdentifier",
+    a = Attributes.create("replicaidentifier",
         Short.toString(changeNumber.getServerId()));
     attrList = new ArrayList<Attribute>(1);
     attrList.add(a);
@@ -1031,7 +1031,7 @@
       operationalAttrs.put(a.getAttributeType(), attrList);
     }
 
-    a = Attributes.create("cookie", cookie);
+    a = Attributes.create("changelogcookie", cookie);
     attrList = new ArrayList<Attribute>(1);
     attrList.add(a);
     operationalAttrs.put(a.getAttributeType(), attrList);

--
Gitblit v1.10.0