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

Jean-Noël Rouvignac
02.02.2016 27053769cfc943bda17d6107368e8f1c9305f6bb
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistoricalSingle.java
@@ -38,10 +38,10 @@
 */
public class AttrHistoricalSingle extends AttrHistorical
{
  /** Attribute type of this historical value */
  private AttributeType attributeType;
  /** Last added value. */
  private ByteString value;
  /** Attribute type for this historical value */
  private AttributeType attributeType;
  /** Last time when a value was added. */
  private CSN addTime;
  /** Last time when the attribute was deleted. */
@@ -275,9 +275,12 @@
  }
  @Override
  public void assign(HistAttrModificationKey histKey, AttributeType attrType, ByteString value, CSN csn)
  public void assign(HistoricalAttributeValue histVal)
  {
    switch (histKey)
    final ByteString value = histVal.getAttributeValue();
    final CSN csn = histVal.getCSN();
    switch (histVal.getHistKey())
    {
    case ADD:
      this.addTime = csn;