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

Ludovic Poitou
24.47.2010 ebf96a30d0122d35e271bad15f1f31a0a9100842
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);
    }
  }