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

matthew_swift
03.39.2006 59685c84348f8d71dc3bbd3513c5eb10cc738a8e
opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java
@@ -662,7 +662,7 @@
  {
    AddContext ctx = new AddContext(generateChangeNumber(addOperation),
        Historical.getEntryUuid(addOperation),
        findEntryId(addOperation.getEntryDN().getParent()));
        findEntryId(addOperation.getEntryDN().getParentDNInSuffix()));
    addOperation.setAttachment(SYNCHROCONTEXT, ctx);
  }
@@ -1491,13 +1491,7 @@
      throw new Exception("operation parameters are invalid");
    }
    RDN[] parentComponents = parentDN.getRDNComponents();
    RDN[] newComponents    = new RDN[parentComponents.length+1];
    System.arraycopy(parentComponents, 0, newComponents, 1,
        parentComponents.length);
    newComponents[0] = newRDN;
    DN newDN = new DN(newComponents);
    DN newDN = parentDN.concat(newRDN);
    // get the current DN of this entry in the database.
    DN currentDN = findEntryDN(entryUid);