From 2dc073d0f37048372498e13ffe84455896bac945 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 18 May 2015 22:47:48 +0000
Subject: [PATCH] AutoRefactor'ed Use diamond operator

---
 opendj-server-legacy/src/dsml/org/opends/dsml/protocol/DSMLServlet.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/opendj-server-legacy/src/dsml/org/opends/dsml/protocol/DSMLServlet.java b/opendj-server-legacy/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
index 9b47ac7..e13feec 100644
--- a/opendj-server-legacy/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
+++ b/opendj-server-legacy/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
@@ -155,7 +155,7 @@
   private String trustStorePasswordValue;
   private Boolean trustAll;
   private Boolean useHTTPAuthzID;
-  private HashSet<String> exopStrings = new HashSet<String>();
+  private HashSet<String> exopStrings = new HashSet<>();
 
   /**
    * This method will be called by the Servlet Container when
@@ -251,10 +251,9 @@
       LDAPConnection connection, String authorizationID)
       throws LDAPConnectionException
   {
-    LinkedHashSet<String>attributes = new LinkedHashSet<String>(1);
+    LinkedHashSet<String>attributes = new LinkedHashSet<>(1);
     attributes.add(SchemaConstants.NO_ATTRIBUTES);
-    ArrayList<org.opends.server.types.Control> controls =
-        new ArrayList<org.opends.server.types.Control>(1);
+    ArrayList<org.opends.server.types.Control> controls = new ArrayList<>(1);
     org.opends.server.types.Control proxyAuthzControl =
         new ProxiedAuthV2Control(true, ByteString.valueOf(authorizationID));
     controls.add(proxyAuthzControl);
@@ -726,8 +725,7 @@
                                             ObjectFactory objFactory,
                                             org.opends.server.types.Control proxyAuthzControl,
                                             DsmlMessage request) {
-    ArrayList<org.opends.server.types.Control> controls =
-        new ArrayList<org.opends.server.types.Control>(1);
+    ArrayList<org.opends.server.types.Control> controls = new ArrayList<>(1);
     if (proxyAuthzControl != null)
     {
       controls.add(proxyAuthzControl);

--
Gitblit v1.10.0