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

Ludovic Poitou
24.47.2010 a3d5c5661dd11285ebafd742c1da6d10b91639f7
opendj-sdk/sdk/src/org/opends/sdk/requests/ModifyRequestImpl.java
@@ -80,7 +80,15 @@
  {
    super(modifyRequest);
    this.name = modifyRequest.getName();
    this.changes.addAll(modifyRequest.getModifications());
    // Deep copy.
    for (Modification modification : modifyRequest.getModifications())
    {
      ModificationType type = modification.getModificationType();
      Attribute attribute = new LinkedAttribute(modification.getAttribute());
      Modification copy = new Modification(type, attribute);
      this.changes.add(copy);
    }
  }