From a89f7014aeb71dba5c94404dfea7eb89e7eeee74 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 08 Jul 2015 06:48:02 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator

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

diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxConnectTest.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxConnectTest.java
index 27ccd6f..9d40d04 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxConnectTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxConnectTest.java
@@ -476,7 +476,7 @@
 
 
   private void configureJmx(Entry entry) throws Exception {
-    ArrayList<LocalizableMessage> reasons = new ArrayList<LocalizableMessage>();
+    ArrayList<LocalizableMessage> reasons = new ArrayList<>();
 
     // Get the Jmx connection handler from the core server
     JmxConnectionHandler jmxConnectionHandler = getJmxConnectionHandler();
@@ -502,7 +502,7 @@
    */
   private OpendsJmxConnector connect(String user, String password, int jmxPort)
         throws MalformedURLException, IOException {
-    Map<String, Object> env = new HashMap<String, Object>();
+    Map<String, Object> env = new HashMap<>();
 
     // Provide the credentials required by the server to successfully
     // perform user authentication
@@ -536,7 +536,7 @@
    */
   private OpendsJmxConnector sslConnect(String user, String password,
       long jmxPort) throws Exception {
-    Map<String, Object> env = new HashMap<String, Object>();
+    Map<String, Object> env = new HashMap<>();
 
     // Provide the credentials required by the server to successfully
     // perform user authentication

--
Gitblit v1.10.0