1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-09 19:43:27 +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){ synchronized(this){
if(recreate || rescan || !fInited){ if(recreate || rescan || !fInited){
ICExtensionReference ref = null; ICExtensionReference ref = null;
boolean newStile = true; boolean newStyle = true;
ICConfigurationDescription cfg = null; ICConfigurationDescription cfg = null;
if(des != null){ if(des != null){
cfg = des.getDefaultSettingConfiguration(); cfg = des.getDefaultSettingConfiguration();
if(cfg != null){ if(cfg != null){
ref = getRef(cfg, false); 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(newProvider == null){
if(recreate || fProvider == null || newStile != fIsNewStyle){ if(recreate || fProvider == null || newStyle != fIsNewStyle){
newStile = isNewStyleCfg(cfg); newStyle = isNewStyleCfg(cfg);
newProvider = createDefaultProvider(cfg, newStile); newProvider = createDefaultProvider(cfg, newStyle);
} }
} }
@ -108,7 +108,7 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
if(ref != null) if(ref != null)
fExtId = ref.getID(); fExtId = ref.getID();
fIsNewStyle = newStile; fIsNewStyle = newStyle;
initializeProvider(fProvider); initializeProvider(fProvider);
} }