Project: Eclipse_Platform_UI
Bug 256556 [Progress] Possibly broken code in DetailedProgressViewer.setFocus
Reported: 2008-11-26 03:45:59 | Status: verified fixed

I20081125-0840 While doing the dead-code analysis I found this code in org.eclipse.ui.internal.progress.DetailedProgressViewer.setFocus(): for (int i = 0; i < children.length; i++) { ProgressInfoItem item = (ProgressInfoItem) children[i]; item.setButtonFocus(); return; } Obviously the loop is useless as it will at most set the focus on children[0].

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