1
0
Fork 0
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:
Doug Schaefer 2005-03-31 02:31:11 +00:00
parent af99524697
commit 4616b8b8d4

View file

@ -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;