From 00f10a3cb74fca7bfa0e4a93a6d9dfd18a08d331 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Feb 2013 16:41:19 +0000
Subject: [PATCH] Removed useless import and unused code.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java |   32 --------------------------------
 1 files changed, 0 insertions(+), 32 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java
index 8a9b9a6..c76ad6e 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java
@@ -72,7 +72,6 @@
 import org.opends.server.replication.protocol.InitializeTargetMsg;
 import org.opends.server.replication.protocol.ReplicationMsg;
 import org.opends.server.replication.protocol.RoutableMsg;
-import org.opends.server.replication.protocol.SocketSession;
 import org.opends.server.replication.server.ReplServerFakeConfiguration;
 import org.opends.server.replication.server.ReplicationServer;
 import org.opends.server.schema.DirectoryStringSyntax;
@@ -487,37 +486,6 @@
     return entries;
   }
 
-  /*
-   * Creates one  user entry necessary to the test.
-   */
-  private String newLDIFEntry(int entryCnt)
-  {
-    // It is relevant to test ReplLDIFInputStream
-    // and ReplLDIFOutputStream with big entries
-    char bigAttributeValue[] = new char[30240];
-    for (int i=0; i<bigAttributeValue.length; i++)
-      bigAttributeValue[i] = Integer.toString(i).charAt(0);
-
-    String filler = "000000000000000000000000000000000000";
-
-    String useri="0000"+entryCnt;
-
-    return  "dn: cn="+useri+",ou=people," + EXAMPLE_DN + "\n"
-            + "objectclass: top\n"
-            + "objectclass: person\n"
-            + "objectclass: organizationalPerson\n"
-            + "objectclass: inetOrgPerson\n"
-            + "cn: "+useri+"_cn"+"\n"
-            + "sn: "+useri+"_sn"+"\n"
-            + "uid: "+useri+"_uid"+"\n"
-            + "description:: "+ Base64.encode(
-                new String(bigAttributeValue).getBytes())+"\n"
-            + "entryUUID: 21111111-1111-1111-1111-"+useri+
-                filler.substring(0, 12-useri.length())+"\n"
-            + "\n";
-
-  }
-
   /**
    * Broker will send the entries to a server.
    * @param broker The broker that will send the entries.

--
Gitblit v1.10.0