From 90a6ab6c63699343acf3adcd4346bce2f5665bdd Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 07 Jul 2015 15:12:28 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator

---
 opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
index e59db6d..e552301 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -945,8 +945,8 @@
   private void createApplicableList(List<Aci> candidates,
       AciTargetMatchContext targetMatchCtx)
   {
-    List<Aci> denys = new LinkedList<Aci>();
-    List<Aci> allows = new LinkedList<Aci>();
+    List<Aci> denys = new LinkedList<>();
+    List<Aci> allows = new LinkedList<>();
     for (Aci aci : candidates)
     {
       if (Aci.isApplicable(aci, targetMatchCtx))
@@ -982,7 +982,7 @@
    */
   private List<AttributeType> getAllAttrs(Entry e)
   {
-    List<AttributeType> typeList = new LinkedList<AttributeType>();
+    List<AttributeType> typeList = new LinkedList<>();
     /*
      * When a search is not all attributes returned, the "objectclass"
      * attribute type is missing from the entry.
@@ -1045,7 +1045,7 @@
    */
   private void processConfigAcis() throws InitializationException
   {
-    LinkedList<LocalizableMessage> failedACIMsgs = new LinkedList<LocalizableMessage>();
+    LinkedList<LocalizableMessage> failedACIMsgs = new LinkedList<>();
     InternalClientConnection conn = getRootConnection();
 
     ConfigHandler<?> configBackend = DirectoryServer.getConfigHandler();

--
Gitblit v1.10.0