From 9aa1482c49865483f798f91ef7d16f03cc3ec811 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 25 Nov 2015 15:09:53 +0000
Subject: [PATCH] TestCaseUtils.java: clearJEBackend() => clearBackend()
---
opendj-server-legacy/src/test/java/org/opends/server/TestCaseUtils.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 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 ba89694..8b2f89f 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
@@ -557,7 +557,7 @@
{
for (Backend<?> backend : DirectoryServer.getBackends().values()) {
if (backend instanceof BackendImpl) {
- clearJEBackend(backend.getBackendID());
+ clearBackend(backend.getBackendID());
}
}
}
@@ -830,23 +830,23 @@
}
/**
- * Clears all the entries from the JE backend determined by the backend id passed into the method.
+ * Clears all the entries from the backend determined by the backend id passed into the method.
*
* @throws Exception If an unexpected problem occurs.
*/
- public static void clearJEBackend(String backendId) throws Exception
+ public static void clearBackend(String backendId) throws Exception
{
- clearJEBackend(backendId, null);
+ clearBackend(backendId, null);
}
/**
- * Clears all the entries from the JE backend determined by the backend id passed into the method.
+ * Clears all the entries from the backend determined by the backend id passed into the method.
*
* @param backendId The backend id to clear
* @param baseDN If not null, the suffix of the backend to create
* @throws Exception If an unexpected problem occurs.
*/
- public static void clearJEBackend(String backendId, String baseDN) throws Exception
+ public static void clearBackend(String backendId, String baseDN) throws Exception
{
Backend<?> b = DirectoryServer.getBackend(backendId);
if (clearBackend(b) && baseDN != null)
--
Gitblit v1.10.0