From 6d2dab657d824fb82d6c58a17517cd8f1c47c70f Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 10:14:14 +0000
Subject: [PATCH] Remove warning during build: Added generic type arguments

---
 opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxTestCase.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxTestCase.java
index d45474f..12fa6f6 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxTestCase.java
@@ -27,13 +27,13 @@
 import java.util.concurrent.Callable;
 
 import org.assertj.core.api.Assertions;
+import org.forgerock.opendj.ldap.DN;
 import org.opends.server.DirectoryServerTestCase;
 import org.opends.server.TestCaseUtils;
 import org.opends.server.api.ConnectionHandler;
 import org.opends.server.core.DirectoryServer;
 import org.opends.server.core.ModifyOperationBasis;
 import org.opends.server.types.Attributes;
-import org.forgerock.opendj.ldap.DN;
 import org.opends.server.types.Modification;
 import org.opends.server.util.TestTimer;
 import org.testng.annotations.BeforeClass;
@@ -68,7 +68,7 @@
    */
   protected JmxConnectionHandler getJmxConnectionHandler() throws Exception
   {
-    List<ConnectionHandler> handlers = DirectoryServer.getConnectionHandlers();
+    List<ConnectionHandler<?>> handlers = DirectoryServer.getConnectionHandlers();
     assertNotNull(handlers);
     JmxConnectionHandler jmxConnectionHandler = getJmxConnectionHandler(handlers);
     if (jmxConnectionHandler == null)
@@ -96,7 +96,7 @@
     return jmxConnectionHandler;
   }
 
-  private JmxConnectionHandler getJmxConnectionHandler(List<ConnectionHandler> handlers)
+  private JmxConnectionHandler getJmxConnectionHandler(List<ConnectionHandler<?>> handlers)
   {
     for (ConnectionHandler<?> handler : handlers)
     {

--
Gitblit v1.10.0