1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 07:15:39 +02:00

Someone deprecated methods so switched to new methods

This commit is contained in:
Sean Evoy 2004-06-09 22:55:21 +00:00
parent b59f69ac43
commit 98d309e32f
2 changed files with 2 additions and 2 deletions

View file

@ -706,7 +706,7 @@ public class ManagedBuildCoreTests extends TestCase {
// Associate the project with the managed builder so the clients can get proper information
ICDescriptor desc = null;
try {
desc = CCorePlugin.getDefault().getCProjectDescription(project);
desc = CCorePlugin.getDefault().getCProjectDescription(project, true);
desc.remove(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID);
desc.create(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID, ManagedBuildManager.INTERFACE_IDENTITY);
} catch (CoreException e) {

View file

@ -98,7 +98,7 @@ public class NewManagedProjectWizard extends NewCProjectWizard {
ManagedCProjectNature.addManagedNature(newProject, new SubProgressMonitor(monitor, 1));
monitor.subTask(ManagedBuilderUIMessages.getResourceString(MSG_ADD_BUILDER));
ManagedCProjectNature.addManagedBuilder(newProject, new SubProgressMonitor(monitor, 1));
desc = CCorePlugin.getDefault().getCProjectDescription(newProject);
desc = CCorePlugin.getDefault().getCProjectDescription(newProject, true);
desc.remove(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID);
desc.create(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID, ManagedBuildManager.INTERFACE_IDENTITY);
desc.remove(CCorePlugin.BINARY_PARSER_UNIQ_ID);