mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Get ready for M6.
This commit is contained in:
parent
af99524697
commit
4616b8b8d4
1 changed files with 1 additions and 2 deletions
|
@ -73,8 +73,7 @@ public class CCompletionProcessor2 implements IContentAssistProcessor {
|
|||
IConfigurationElement element = elements[j];
|
||||
if (!"contributor".equals(element.getName())) //$NON-NLS-1$
|
||||
continue;
|
||||
Class contribClass = element.loadExtensionClass("class"); //$NON-NLS-1$
|
||||
Object contribObject = contribClass.newInstance();
|
||||
Object contribObject = element.createExecutableExtension("class"); //$NON-NLS-1$
|
||||
if (!(contribObject instanceof ICompletionContributor))
|
||||
continue;
|
||||
ICompletionContributor contributor = (ICompletionContributor)contribObject;
|
||||
|
|
Loading…
Add table
Reference in a new issue