mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
19.47.2015 2dc073d0f37048372498e13ffe84455896bac945
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());