From fb22a3d183d0fbde920275e3e14138a27151e734 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 27 Apr 2015 12:18:16 +0000
Subject: [PATCH] AutoRefactor'ed use diamond operator

---
 opendj-config/src/main/java/org/forgerock/opendj/config/client/OperationRejectedException.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/opendj-config/src/main/java/org/forgerock/opendj/config/client/OperationRejectedException.java b/opendj-config/src/main/java/org/forgerock/opendj/config/client/OperationRejectedException.java
index 9038325..5c2ca73 100644
--- a/opendj-config/src/main/java/org/forgerock/opendj/config/client/OperationRejectedException.java
+++ b/opendj-config/src/main/java/org/forgerock/opendj/config/client/OperationRejectedException.java
@@ -22,6 +22,7 @@
  *
  *
  *      Copyright 2008 Sun Microsystems, Inc.
+ *      Portions Copyright 2015 ForgeRock AS.
  */
 package org.forgerock.opendj.config.client;
 
@@ -111,10 +112,7 @@
     /** The type of operation that caused this exception. */
     private final OperationType type;
 
-    /**
-     * The user friendly name of the component that caused this
-     * exception.
-     */
+    /** The user friendly name of the component that caused this exception. */
     private final LocalizableMessage ufn;
 
     /**
@@ -146,7 +144,7 @@
         Collection<LocalizableMessage> messages) {
         super(getDefaultMessage(messages));
 
-        this.messages = new ArrayList<LocalizableMessage>(messages);
+        this.messages = new ArrayList<>(messages);
         this.type = type;
         this.ufn = ufn;
     }

--
Gitblit v1.10.0