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/TestCaseUtils.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/TestCaseUtils.java b/opendj-server-legacy/src/test/java/org/opends/server/TestCaseUtils.java
index 6112fc5..ff9f1dd 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/TestCaseUtils.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/TestCaseUtils.java
@@ -80,7 +80,7 @@
import org.forgerock.opendj.ldap.ByteString;
import org.forgerock.opendj.ldap.DN;
import org.forgerock.opendj.ldap.ResultCode;
-import org.opends.server.api.Backend;
+import org.opends.server.api.LocalBackend;
import org.opends.server.api.WorkQueue;
import org.opends.server.api.plugin.PluginType;
import org.opends.server.backends.MemoryBackend;
@@ -628,7 +628,7 @@
private static void clearJEBackends() throws Exception
{
- for (Backend<?> backend : DirectoryServer.getBackends())
+ for (LocalBackend<?> backend : DirectoryServer.getBackends())
{
if (backend instanceof BackendImpl) {
clearBackend(backend.getBackendID());
@@ -929,7 +929,7 @@
*/
public static void clearBackend(String backendId, String baseDN) throws Exception
{
- Backend<?> b = DirectoryServer.getBackend(backendId);
+ LocalBackend<?> b = DirectoryServer.getBackend(backendId);
if (clearBackend(b) && baseDN != null)
{
Entry e = createEntry(DN.valueOf(baseDN));
@@ -937,7 +937,7 @@
}
}
- private static boolean clearBackend(Backend<?> b)
+ private static boolean clearBackend(LocalBackend<?> b)
{
if (b instanceof BackendImpl)
{
--
Gitblit v1.10.0