Project: Eclipse_Platform_UI
Bug 256561 [WorkingSets] Possibly broken code in ModifyWorkingSetDelegate.getItems()
Reported: 2008-11-26 04:01:09 | Status: verified fixed

I20081125-0840 While doing the dead-code analysis I found this code in org.eclipse.ui.internal.actions.ModifyWorkingSetDelegate.getItems(): for (int k = 0; k < adaptables.length; k++) { if (existingElements.contains(adaptables[k])) visible = true; // show if any element // is present in removal break; } Looks like the braces got missing.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/actions/ModifyWorkingSetDelegate.java