for (int i = 0; i < menusExtensionPoint.length; i++) {
if (PL_MENU_CONTRIBUTION.equals(menusExtensionPoint[i].getName())) {
</BUG>
if (contributorFilter == null
|| contributorFilter.matcher(
<BUG>menusExtensionPoint[i].getContributor().getName()).matches()) {

configElements.add(menusExtensionPoint[i]);
}</BUG>
}

ContributionsAnalyzer.mergeTrimContributions(tmpTrim, trimContributions);
application.getTrimContributions().addAll(trimContributions);
}
private void readAdditions() {
final IExtensionRegistry registry = Platform.getExtensionRegistry();
ArrayList<IConfigurationElement> configElements = new ArrayList<>();
for (IConfigurationElement configElement : registry.getConfigurationElementsFor(EXTENSION_MENUS)) {
if (PL_MENU_CONTRIBUTION.equals(configElement.getName())) {
if (contributorFilter == null
|| contributorFilter.matcher(
configElement.getContributor().getName()).matches()) {
configElements.add(configElement);
