mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
APPS-692: after properties removed. (#315)
This commit is contained in:
@@ -416,11 +416,13 @@ public class EventConsolidator implements EventSupportedPolicies
|
||||
}
|
||||
// Get before values that changed
|
||||
Map<K, V> beforeDelta = new HashMap<>(before);
|
||||
Map<K, V> afterDelta = new HashMap<>(after);
|
||||
|
||||
beforeDelta.entrySet().removeAll(after.entrySet());
|
||||
|
||||
// Add nulls for before properties
|
||||
Set<K> beforeKeys = before.keySet();
|
||||
Set<K> newKeys = after.keySet();
|
||||
Set<K> newKeys = afterDelta.keySet();
|
||||
newKeys.removeAll(beforeKeys);
|
||||
|
||||
for (K key : newKeys)
|
||||
|
Reference in New Issue
Block a user