1
0
Fork 0
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:
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) {
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();