From 59685c84348f8d71dc3bbd3513c5eb10cc738a8e Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 03 Nov 2006 16:39:22 +0000
Subject: [PATCH] Refactor DN and RDN classes and improve their test coverage.

---
 opends/src/server/org/opends/server/tools/LDIFModify.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/LDIFModify.java b/opends/src/server/org/opends/server/tools/LDIFModify.java
index 425219d..8f51f98 100644
--- a/opends/src/server/org/opends/server/tools/LDIFModify.java
+++ b/opends/src/server/org/opends/server/tools/LDIFModify.java
@@ -45,7 +45,6 @@
 import org.opends.server.types.Attribute;
 import org.opends.server.types.AttributeType;
 import org.opends.server.types.AttributeValue;
-import org.opends.server.types.DNComparator;
 import org.opends.server.types.DirectoryException;
 import org.opends.server.types.DN;
 import org.opends.server.types.Entry;
@@ -126,11 +125,10 @@
          throws IOException, LDIFException
   {
     // Read the changes into memory.
-      DNComparator comparator = new DNComparator();
-      TreeMap<DN,AddChangeRecordEntry> adds =
-          new TreeMap<DN,AddChangeRecordEntry>(comparator);
-      TreeMap<DN,Entry> ldifEntries =
-          new TreeMap<DN,Entry>(comparator);
+    TreeMap<DN,AddChangeRecordEntry> adds =
+          new TreeMap<DN,AddChangeRecordEntry>();
+    TreeMap<DN,Entry> ldifEntries =
+          new TreeMap<DN,Entry>();
     HashMap<DN,DeleteChangeRecordEntry> deletes =
          new HashMap<DN,DeleteChangeRecordEntry>();
     HashMap<DN,LinkedList<Modification>> modifications =

--
Gitblit v1.10.0