| | |
| | | if (change.dependenciesIsCovered(state)) |
| | | { |
| | | dependentChanges.remove(change); |
| | | return change.getMsg(); |
| | | return change.getLDAPUpdateMsg(); |
| | | } |
| | | } |
| | | return null; |
| | |
| | | { |
| | | if (pendingChange.getCSN().isOlderThan(csn)) |
| | | { |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getMsg(); |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getLDAPUpdateMsg(); |
| | | if (pendingMsg != null) |
| | | { |
| | | if (pendingMsg instanceof DeleteMsg) |
| | |
| | | { |
| | | if (pendingChange.getCSN().isOlderThan(csn)) |
| | | { |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getMsg(); |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getLDAPUpdateMsg(); |
| | | if (pendingMsg instanceof AddMsg) |
| | | { |
| | | // Check if the operation to be run is an addOperation on a same DN. |
| | |
| | | return false; |
| | | } |
| | | |
| | | final DN targetDN = change.getMsg().getDN(); |
| | | final DN targetDN = change.getLDAPUpdateMsg().getDN(); |
| | | |
| | | for (PendingChange pendingChange : pendingChanges.values()) |
| | | { |
| | | if (pendingChange.getCSN().isOlderThan(csn)) |
| | | { |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getMsg(); |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getLDAPUpdateMsg(); |
| | | if (pendingMsg != null) |
| | | { |
| | | if (pendingMsg instanceof DeleteMsg) |
| | |
| | | { |
| | | if (pendingChange.getCSN().isOlderThan(csn)) |
| | | { |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getMsg(); |
| | | final LDAPUpdateMsg pendingMsg = pendingChange.getLDAPUpdateMsg(); |
| | | if (pendingMsg != null) |
| | | { |
| | | if (pendingMsg instanceof DeleteMsg) |