1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

backward compatibility behaviour

This commit is contained in:
Alain Magloire 2004-08-13 01:45:39 +00:00
parent c1715fbcef
commit 026137a049

View file

@ -78,7 +78,8 @@ public class CCompletionContributorDescriptor {
CUIPlugin.getDefault().log(e); CUIPlugin.getDefault().log(e);
} }
} }
return false; // For backward compat. we have to return true in no enablement was specified.
return true;
} }
public ICCompletionContributor getCCompletionContributor(ITranslationUnit cunit) throws CoreException { public ICCompletionContributor getCCompletionContributor(ITranslationUnit cunit) throws CoreException {
@ -123,7 +124,8 @@ public class CCompletionContributorDescriptor {
CUIPlugin.getDefault().log(e); CUIPlugin.getDefault().log(e);
} }
} }
return false; // For backward compat. we have to return true in no enablement was specified.
return true;
} }
public ICCompletionContributor getCCompletionContributor(IProject project) throws CoreException { public ICCompletionContributor getCCompletionContributor(IProject project) throws CoreException {