Reputation: 4503
if I send two null values as below.
pcl.firePropertyChange("name", null, null)
it will recognize this as a change and fires propertyChange(PropertyChangeEvent evt).
propertyChange(PropertyChangeEvent evt)
Is this a bug? Any suggestions ?
Upvotes: 0
Views: 51
Reputation: 712
It's working as defined in the JavaDoc:
No event is fired if old and new are equal and non-null.
So no bug.
Upvotes: 1