Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6
-
None
-
None
Description
Taking the example from doc
def map = [one: 1, two: 2] as ObservableMap
map.addPropertyChangeListener({evt -> println "${evt.propertyName}: ${evt.oldValue} -> ${evt.newValue}"} as PropertyChangeListener)
map.remove("one")
nothing is printed. Other operations like put, replace element do work without problem.
map.clear() also do nth. as putAll() does fire events, i think clear() should do so.