1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 313038 - Includes path lost on restart. Moved the init of the config data provider to bundle start time so it's ready in time for first project creation.

This commit is contained in:
Doug Schaefer 2010-05-18 02:08:11 +00:00
parent 0316c02daa
commit 5e5b51e35a
2 changed files with 8 additions and 1 deletions

View file

@ -51,6 +51,11 @@ public class CConfigurationDataProviderDescriptor {
fNatureIds = new String[0];
fConflictingNatureIds = new String[0];
}
try {
fProvider = createProvider(extension);
} catch (CoreException e) {
CCorePlugin.log(e.getStatus());
}
}
private static String[] toArray(String value){

View file

@ -268,8 +268,10 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager {
public static CProjectDescriptionManager getInstance(){
if(fInstance == null)
synchronized(CProjectDescriptionManager.class) {
if (fInstance == null)
if (fInstance == null) {
fInstance = new CProjectDescriptionManager();
fInstance.initProviderInfo();
}
}
return fInstance;
}