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

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
index b7e67c7..7b0cd5e 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
@@ -262,7 +262,7 @@
     Utilities.centerGoldenMean(dlg, Utilities.getParentDialog(this));
     dlg.setVisible(true);
     */
-    ArrayList<String> stringErrors = new ArrayList<String>();
+    ArrayList<String> stringErrors = new ArrayList<>();
     for (LocalizableMessage err : errors)
     {
       stringErrors.add(err.toString());
@@ -2363,7 +2363,7 @@
     if (confEntry != null)
     {
       // Copy the values to avoid problems with this recursive method.
-      ArrayList<DN> childDNs = new ArrayList<DN>(confEntry.getChildren().keySet());
+      ArrayList<DN> childDNs = new ArrayList<>(confEntry.getChildren().keySet());
       for (DN childDN : childDNs)
       {
         deleteConfigSubtree(confHandler, childDN);

--
Gitblit v1.10.0