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/main/java/org/opends/admin/ads/SuffixDescriptor.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/admin/ads/SuffixDescriptor.java b/opendj-server-legacy/src/main/java/org/opends/admin/ads/SuffixDescriptor.java
index 572cc7b..e25b3fe 100644
--- a/opendj-server-legacy/src/main/java/org/opends/admin/ads/SuffixDescriptor.java
+++ b/opendj-server-legacy/src/main/java/org/opends/admin/ads/SuffixDescriptor.java
@@ -38,7 +38,7 @@
 public class SuffixDescriptor
 {
   private String suffixDN;
-  private Set<ReplicaDescriptor> replicas = new HashSet<ReplicaDescriptor>();
+  private Set<ReplicaDescriptor> replicas = new HashSet<>();
 
   /**
    * Returns the DN associated with this suffix descriptor.
@@ -65,7 +65,7 @@
    */
   public Set<ReplicaDescriptor> getReplicas()
   {
-    return new HashSet<ReplicaDescriptor>(replicas);
+    return new HashSet<>(replicas);
   }
 
   /**
@@ -86,7 +86,7 @@
    */
   public Set<String> getReplicationServers()
   {
-    Set<String> replicationServers = new HashSet<String>();
+    Set<String> replicationServers = new HashSet<>();
     for (ReplicaDescriptor replica : getReplicas())
     {
       replicationServers.addAll(replica.getReplicationServers());

--
Gitblit v1.10.0