Community
Participate
Working Groups
I created a working copy of some non-empty preferences. Then I removed some key from the working copy. However, that key is still mentioned in the result of keys(): IEclipsePreferences somePrefs; somePrefs.put("something", "whatever");// just something, so it's not empty workingCopyManager = new WorkingCopyManager(); workingCopy = workingCopyManager.getWorkingCopy(somePrefs); workingCopy.remote("something"); for (String s:workingCopy.keys()) {System.out.println(s);} "something" will still be printed here. The cause for this seems to be this one: org.eclipse.ui.internal.preferences.WorkingCopy.Preferences.keys it doesn't reduce it's result be the keys set to null.
Pushed a fix to Gerrit for review: https://git.eclipse.org/r/24496
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c5b3f0d039f1e64def166a93283ffccce071ab63 Thanks Timo. PW
In 4.4.0.I20140428-2000 PW