Bug 303290 Typo in JFace ToolBarManager
Using the ToolBarManager class we noticed a small typo in the JavaDoc: /** * The tool bat control; <code>null</code> before creation and after * disposal. */ Says "bat" instead of "bar". While this is a private member it should still be correct. Assuming the code has not changed a lot please verify against the latest head version of this file. Thanks, Werner
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarManager.java
}
				}
				
				
				
				
				
				
				boolean useRedraw = (clean.size() - (mi.length - toRemove
						.size())) >= 3;
                try {
                    if (useRedraw) {
                        toolBar.setRedraw(false);
                    }
                    
                    for (int i = toRemove.size(); --i >= 0;) {
                        ToolItem item = (ToolItem) toRemove.get(i);
                        if (!item.isDisposed()) {
                            Control ctrl = item.getControl();
                            if (ctrl != null) {
                                item.setControl(null);
                                ctrl.dispose();
                            }
                            item.dispose();
                        }
                    }
                    
                    IContributionItem src, dest;
                    mi = toolBar.getItems();
                    int srcIx = 0;