Community
Participate
Working Groups
Created attachment 147303 [details] Patch_v01 This happens any time the method is called. I'd expect the event to be fired only if the actual state changes.
Could someone provide a target? The problem is pretty straightforward as well as the attached patch.
Sure, 36M3 for now. Do you by chance have a JUnit?
Created attachment 148311 [details] Patch_v01B
Oleg, I attached the test in the previous comment. It only gives the idea, you should probably relocate and enhance it.
Created attachment 148370 [details] A bit modified Patch v01 Thank you, it is much easier to check things once there is a test. The patch and JUnit look very good. One thing, it would seem to be a bit safer to check properties.containsKey(name) rather then properties.get(name) != null It should be about the same as PreferenceStore does not allow null values, but seems just a tiny bit safer in case somebody manages to put a null value in it. What do you think about it?
(In reply to comment #5) > What do you think about it? Sure, looks neater.
Patches applied to CVS Head. Thanks Pawel!
Verified that JUnit passed in I20091026-1800 and passes locally on I20091027-0100 build.