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

Jean-Noel Rouvignac
02.57.2013 157717b205d4c1f957cf810e04e06f11530c619c
opends/src/server/org/opends/server/replication/plugin/HistoricalAttributeValue.java
@@ -31,10 +31,9 @@
import java.util.Set;
import org.opends.server.core.DirectoryServer;
import org.opends.server.replication.common.ChangeNumber;
import org.opends.server.replication.common.CSN;
import org.opends.server.types.*;
/**
 * This class stores an internal usable representation of the value of
 * the historical related to an entry.
@@ -59,7 +58,7 @@
 *
 *  so after split
 *  token[0] will contain the attribute name
 *  token[1] will contain the change number
 *  token[1] will contain the CSN
 *  token[2] will contain the type of historical information
 *  token[3] will contain the attribute value
 *
@@ -72,8 +71,8 @@
  private AttributeType attrType;
  private String attrString;
  private AttributeValue attributeValue;
  private ChangeNumber cn;
  private LinkedHashSet<String> options;
  private CSN csn;
  private Set<String> options;
  private HistAttrModificationKey histKey;
  private String stringValue;
@@ -129,7 +128,7 @@
      }
    }
    cn = new ChangeNumber(token[1]);
    csn = new CSN(token[1]);
    histKey = HistAttrModificationKey.decodeKey(token[2]);
    stringValue = null;
    if (histKey != HistAttrModificationKey.DELATTR)
@@ -171,12 +170,12 @@
  }
  /**
   * Get the ChangeNUmber of this HistVal.
   * @return Returns the ChangeNumber of this HistVal.
   * Get the CSN of this HistVal.
   * @return Returns the CSN of this HistVal.
   */
  public ChangeNumber getCn()
  public CSN getCSN()
  {
    return cn;
    return csn;
  }
  /**