From 37c1e3c381943a09281dac31ff343bd9034cd1de Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 10 Jul 2013 08:05:32 +0000
Subject: [PATCH] *.java: Replaced collection concrete classes with interfaces. Used javadocs instead of line comments.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/backends/SchemaBackendTestCase.java |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/SchemaBackendTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/SchemaBackendTestCase.java
index 108a92b..75dd993 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/SchemaBackendTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/SchemaBackendTestCase.java
@@ -30,10 +30,7 @@
 
 
 import java.io.File;
-import java.util.LinkedHashMap;
-
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
+import java.util.Map;
 
 import org.opends.server.TestCaseUtils;
 import org.opends.server.config.ConfigException;
@@ -60,9 +57,10 @@
 import org.opends.server.types.ResultCode;
 import org.opends.server.types.SearchFilter;
 import org.opends.server.types.SearchScope;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Test;
 
 import static org.testng.Assert.*;
-
 import static org.opends.server.util.StaticUtils.*;
 
 
@@ -70,10 +68,11 @@
 /**
  * A set of test cases for the schema backend.
  */
+@SuppressWarnings("javadoc")
 public class SchemaBackendTestCase
        extends BackendTestCase
 {
-  // A reference to the schema backend.
+  /** A reference to the schema backend. */
   private SchemaBackend schemaBackend;
 
 
@@ -5544,7 +5543,7 @@
   @Test()
   public void testGetAlerts()
   {
-    LinkedHashMap<String,String> alerts = schemaBackend.getAlerts();
+    Map<String, String> alerts = schemaBackend.getAlerts();
     assertNotNull(alerts);
     assertFalse(alerts.isEmpty());
   }

--
Gitblit v1.10.0