1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-20 15:35:24 +02:00

Removed uses of deprecated constructors.

This commit is contained in:
Sergey Prigogin 2011-02-28 19:38:01 +00:00
parent 6179bd2262
commit d8361893bf

View file

@ -104,8 +104,9 @@ public final class CIndenter {
CorePrefs(ICProject project) { CorePrefs(ICProject project) {
preferenceService = Platform.getPreferencesService(); preferenceService = Platform.getPreferencesService();
preferenceContexts = project != null ? preferenceContexts = project != null ?
new IScopeContext[] { new ProjectScope(project.getProject()), new InstanceScope(), new DefaultScope() } : new IScopeContext[] { new ProjectScope(project.getProject()),
new IScopeContext[] { new InstanceScope(), new DefaultScope() }; InstanceScope.INSTANCE, DefaultScope.INSTANCE } :
new IScopeContext[] { InstanceScope.INSTANCE, DefaultScope.INSTANCE };
fProject= project; fProject= project;
prefUseTabs= prefUseTabs(); prefUseTabs= prefUseTabs();
prefTabSize= prefTabSize(); prefTabSize= prefTabSize();