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:
parent
c1715fbcef
commit
026137a049
1 changed files with 4 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue