mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Removed uses of deprecated constructors.
This commit is contained in:
parent
6179bd2262
commit
d8361893bf
1 changed files with 3 additions and 2 deletions
|
@ -104,8 +104,9 @@ public final class CIndenter {
|
|||
CorePrefs(ICProject project) {
|
||||
preferenceService = Platform.getPreferencesService();
|
||||
preferenceContexts = project != null ?
|
||||
new IScopeContext[] { new ProjectScope(project.getProject()), new InstanceScope(), new DefaultScope() } :
|
||||
new IScopeContext[] { new InstanceScope(), new DefaultScope() };
|
||||
new IScopeContext[] { new ProjectScope(project.getProject()),
|
||||
InstanceScope.INSTANCE, DefaultScope.INSTANCE } :
|
||||
new IScopeContext[] { InstanceScope.INSTANCE, DefaultScope.INSTANCE };
|
||||
fProject= project;
|
||||
prefUseTabs= prefUseTabs();
|
||||
prefTabSize= prefTabSize();
|
||||
|
|
Loading…
Add table
Reference in a new issue