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

coulbeck
09.33.2007 cfe6d3c911c21e5e7b1091fe0802251fe055854b
opends/src/server/org/opends/server/synchronization/plugin/Historical.java
@@ -34,6 +34,7 @@
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.HashSet;
import org.opends.server.core.AddOperation;
import org.opends.server.core.DirectoryServer;
@@ -141,10 +142,6 @@
      Modification m = (Modification) modsIterator.next();
      Attribute modAttr = m.getAttribute();
      Set<String> options = modAttr.getOptions();
      if (options.isEmpty())
      {
        options = null;
      }
      AttributeType type = modAttr.getAttributeType();
      AttrInfoWithOptions attrInfoWithOptions =  attributesInfo.get(type);
      AttrInfo attrInfo = null;
@@ -263,10 +260,6 @@
      return;
    }
    Set<String> options = modAttr.getOptions();
    if (options.isEmpty())
    {
      options = null;
    }
    AttributeType type = modAttr.getAttributeType();
    AttrInfoWithOptions attrInfoWithOptions =  attributesInfo.get(type);
    AttrInfo attrInfo;
@@ -477,7 +470,7 @@
   */
  private boolean hasConflict(AttrInfo info, ChangeNumber newChange)
  {
    // if I've already seen a change that is more recetn than the one
    // if I've already seen a change that is more recent than the one
    // that is currently being processed, then there is
    // a potential conflict
    if (ChangeNumber.compare(newChange, moreRecentChangenumber) <= 0)
@@ -758,7 +751,7 @@
    List<Attribute> hist = entry.getAttribute(historicalAttrType);
    Historical histObj = new Historical();
    AttributeType lastAttrType = null;
    Set<String> lastOptions = null;
    Set<String> lastOptions = new HashSet<String>();
    AttrInfo attrInfo = null;
    AttrInfoWithOptions attrInfoWithOptions = null;