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

neil_a_wilson
05.54.2007 c22404d2ae49ed50c10f0da2f8d7ed032ebd5fed
opends/src/server/org/opends/server/util/AddChangeRecordEntry.java
@@ -30,6 +30,7 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
@@ -114,5 +115,31 @@
    return Collections.unmodifiableList(attributes);
  }
  /**
   * {@inheritDoc}
   */
  @Override()
  public String toString()
  {
    StringBuilder buffer = new StringBuilder();
    buffer.append("AddChangeRecordEntry(dn=\"");
    buffer.append(String.valueOf(getDN()));
    buffer.append("\", attrs={");
    Iterator<Attribute> iterator = attributes.iterator();
    while (iterator.hasNext())
    {
      buffer.append(iterator.next().getName());
      if (iterator.hasNext())
      {
        buffer.append(", ");
      }
    }
    buffer.append("})");
    return buffer.toString();
  }
}