From 73d88be801a676244bd429e223d217c688291f02 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 07 Nov 2016 15:05:30 +0000
Subject: [PATCH] OPENDJ-3417 Rename Backend to LocalBackend

---
 opendj-server-legacy/src/test/java/org/opends/server/backends/ChangelogBackendTestCase.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/opendj-server-legacy/src/test/java/org/opends/server/backends/ChangelogBackendTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/backends/ChangelogBackendTestCase.java
index a3e5414..587bab6 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/backends/ChangelogBackendTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/backends/ChangelogBackendTestCase.java
@@ -51,7 +51,7 @@
 import org.forgerock.opendj.ldap.ResultCode;
 import org.forgerock.opendj.ldap.SearchScope;
 import org.forgerock.opendj.server.config.server.ExternalChangelogDomainCfg;
-import org.opends.server.api.Backend;
+import org.opends.server.api.LocalBackend;
 import org.opends.server.backends.ChangelogBackend.ChangeNumberRange;
 import org.opends.server.controls.EntryChangelogNotificationControl;
 import org.opends.server.controls.ExternalChangelogRequestControl;
@@ -365,7 +365,7 @@
   {
     String test = "CookieTwoSuffixes";
     debugInfo(test, "Starting test\n\n");
-    Backend<?> backendForSecondSuffix = null;
+    LocalBackend<?> backendForSecondSuffix = null;
     try
     {
       backendForSecondSuffix = initializeMemoryBackend(true, TEST_BACKEND_ID2);
@@ -506,7 +506,7 @@
       debugInfo(test, "Starting test");
 
       // Use o=test3 to avoid collision with o=test2 already used by a previous test
-      Backend<?> backend3 = null;
+      LocalBackend<?> backend3 = null;
       LDAPReplicationDomain domain2 = null;
       try {
         ReplicationBroker broker = enableReplication(server1);
@@ -634,8 +634,8 @@
     final DN baseDN4 = DN.valueOf("o=" + backendId4);
     final String backendId5 = "test5";
     final DN baseDN5 = DN.valueOf("o=" + backendId5);
-    Backend<?> backend4 = null;
-    Backend<?> backend5 = null;
+    LocalBackend<?> backend4 = null;
+    LocalBackend<?> backend5 = null;
     LDAPReplicationDomain domain4 = null;
     LDAPReplicationDomain domain5 = null;
     LDAPReplicationDomain domain41 = null;
@@ -1517,7 +1517,7 @@
   }
 
   /** Creates a memory backend, to be used as additional backend in tests. */
-  private static Backend<?> initializeMemoryBackend(boolean createBaseEntry, String backendId) throws Exception
+  private static LocalBackend<?> initializeMemoryBackend(boolean createBaseEntry, String backendId) throws Exception
   {
     DN baseDN = DN.valueOf("o=" + backendId);
 
@@ -1547,9 +1547,9 @@
     return memoryBackend;
   }
 
-  private static void removeBackend(Backend<?>... backends)
+  private static void removeBackend(LocalBackend<?>... backends)
   {
-    for (Backend<?> backend : backends)
+    for (LocalBackend<?> backend : backends)
     {
       if (backend != null)
       {

--
Gitblit v1.10.0