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/main/java/org/opends/server/replication/plugin/RemotePendingChanges.java |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/RemotePendingChanges.java b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/RemotePendingChanges.java
index 8252018..27da159 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/RemotePendingChanges.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/RemotePendingChanges.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2007-2009 Sun Microsystems, Inc.
- *      Portions Copyright 2013-2014 ForgeRock AS.
+ *      Portions Copyright 2013-2015 ForgeRock AS.
  */
 package org.opends.server.replication.plugin;
 
@@ -50,23 +50,17 @@
  */
 final class RemotePendingChanges
 {
-  /**
-   * A map used to store the pending changes.
-   */
-  private final SortedMap<CSN, PendingChange> pendingChanges =
-    new TreeMap<CSN, PendingChange>();
+  /** A map used to store the pending changes. */
+  private final SortedMap<CSN, PendingChange> pendingChanges = new TreeMap<>();
 
   /**
    * A sorted set containing the list of PendingChanges that have
    * not been replayed correctly because they are dependent on
    * another change to be completed.
    */
-  private final SortedSet<PendingChange> dependentChanges =
-    new TreeSet<PendingChange>();
+  private final SortedSet<PendingChange> dependentChanges = new TreeSet<>();
 
-  /**
-   * The ServerState that will be updated when LDAPUpdateMsg are fully replayed.
-   */
+  /** The ServerState that will be updated when LDAPUpdateMsg are fully replayed. */
   private final ServerState state;
 
   /**

--
Gitblit v1.10.0