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

Jean-Noël Rouvignac
19.51.2016 ad326bc588eb60ff6dafd6320eb2c74d8f37cd58
opendj-server-legacy/src/main/java/org/opends/admin/ads/SuffixDescriptor.java
@@ -28,7 +28,7 @@
 * have the same suffix DN. If there is more than one replica on the suffix, the
 * contents of the replicas are replicated.
 */
public class SuffixDescriptor
public class SuffixDescriptor implements Comparable<SuffixDescriptor>
{
  private DN suffixDN;
  private final Set<ReplicaDescriptor> replicas = new HashSet<>();
@@ -129,6 +129,12 @@
  }
  @Override
  public int compareTo(SuffixDescriptor o)
  {
    return getId().compareTo(o.getId());
  }
  @Override
  public String toString()
  {
    Set<String> replicaStrings = new TreeSet<>();