From 62b1b9b8e485048089a5bf379ba34ef95ad0ae2f Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 21 Dec 2015 15:02:46 +0000
Subject: [PATCH] Remove unused import
---
opendj-server-legacy/src/test/java/org/opends/server/DirectoryServerTestCase.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/DirectoryServerTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/DirectoryServerTestCase.java
index 4344c90..7cdc953 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/DirectoryServerTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/DirectoryServerTestCase.java
@@ -33,7 +33,6 @@
import org.testng.annotations.AfterClass;
import org.forgerock.i18n.LocalizableMessage;
import org.forgerock.testng.ForgeRockTestCase;
-import org.opends.server.replication.ReplicationTestCase;
import java.util.ArrayList;
import java.util.Collections;
@@ -65,13 +64,11 @@
TestCaseUtils.unsupressOutput();
}
- //
// This is all a HACK to reduce the amount of memory that's consumed.
//
// This could be a problem if a subclass references a @DataProvider in
// a super-class that provides static parameters, i.e. the parameters are
// not regenerated for each invocation of the DataProvider.
- //
/** A list of all parameters that were generated by a @DataProvider
* and passed to a test method of this class. TestListener helps us
@@ -137,7 +134,7 @@
*/
@AfterClass(alwaysRun = true)
public void nullMemberVariablesAfterTest2() {
- Class<?> cls = this.getClass();
+ Class<?> cls = getClass();
// Iterate through all of the fields in all subclasses of
// DirectoryServerTestCase, but not DirectoryServerTestCase itself.
while (DirectoryServerTestCase.class.isAssignableFrom(cls) &&
--
Gitblit v1.10.0