Project: Eclipse_Platform_UI
Bug 182308 [Contributions] [Doc] CompoundContributionItem's getContributionItems() method has no javadocs
Reported: 2007-04-13 07:52:36 | Status: verified fixed

getContributionItems() is an abstract protected method that people are supposed to subclass. Unfortunately, there are no javadocs to state what are some valid return values. Looking at the code in CompoundContributionItem itself, returning a null would cause an NPE in the fill(Menu, int) method. This should be noted.

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