| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | * Portions Copyright 2011-2014 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.plugin; |
| | | |
| | |
| | | import java.util.Iterator; |
| | | import java.util.Map; |
| | | |
| | | import org.forgerock.opendj.ldap.ModificationType; |
| | | import org.opends.server.replication.common.CSN; |
| | | import org.opends.server.types.*; |
| | | |
| | |
| | | newValue = modAttr.iterator().next(); |
| | | } |
| | | |
| | | switch (mod.getModificationType()) |
| | | switch (mod.getModificationType().asEnum()) |
| | | { |
| | | case DELETE: |
| | | this.addTime = null; |
| | |
| | | newValue = modAttr.iterator().next(); |
| | | } |
| | | |
| | | switch (mod.getModificationType()) |
| | | switch (mod.getModificationType().asEnum()) |
| | | { |
| | | case DELETE: |
| | | if (csn.isNewerThan(addTime)) |