1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

bug 239804: CDT spelling errors

This commit is contained in:
Andrew Gvozdev 2010-10-25 20:48:36 +00:00
parent 99da99fdd1
commit 40fee88bac

View file

@ -70,13 +70,13 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
synchronized(this){
if(recreate || rescan || !fInited){
ICExtensionReference ref = null;
boolean newStile = true;
boolean newStyle = true;
ICConfigurationDescription cfg = null;
if(des != null){
cfg = des.getDefaultSettingConfiguration();
if(cfg != null){
ref = getRef(cfg, false);
newStile = CProjectDescriptionManager.getInstance().isNewStyleCfg(cfg);
newStyle = CProjectDescriptionManager.getInstance().isNewStyleCfg(cfg);
}
}
@ -92,9 +92,9 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
}
if(newProvider == null){
if(recreate || fProvider == null || newStile != fIsNewStyle){
newStile = isNewStyleCfg(cfg);
newProvider = createDefaultProvider(cfg, newStile);
if(recreate || fProvider == null || newStyle != fIsNewStyle){
newStyle = isNewStyleCfg(cfg);
newProvider = createDefaultProvider(cfg, newStyle);
}
}
@ -108,7 +108,7 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
if(ref != null)
fExtId = ref.getID();
fIsNewStyle = newStile;
fIsNewStyle = newStyle;
initializeProvider(fProvider);
}