mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
Bug 565628: Fix typo in variable name
Change-Id: I62a470e6ebe3b3e8369aad5861bab7dc1d5dd6f4
This commit is contained in:
parent
e2dd4868ff
commit
f0235bae94
1 changed files with 5 additions and 5 deletions
|
@ -176,7 +176,7 @@ public class XmlProjectDescriptionStorage extends AbstractCProjectDescriptionSto
|
||||||
// end Bug 249951 & Bug 310007
|
// end Bug 249951 & Bug 310007
|
||||||
serializingLock.acquire();
|
serializingLock.acquire();
|
||||||
LanguageSettingsProvidersSerializer.serializeLanguageSettings(fDes);
|
LanguageSettingsProvidersSerializer.serializeLanguageSettings(fDes);
|
||||||
projectModificaitonStamp = serialize(fDes.getProject(),
|
projectModificationStamp = serialize(fDes.getProject(),
|
||||||
ICProjectDescriptionStorageType.STORAGE_FILE_NAME, fElement);
|
ICProjectDescriptionStorageType.STORAGE_FILE_NAME, fElement);
|
||||||
((ContributedEnvironment) CCorePlugin.getDefault().getBuildEnvironmentManager()
|
((ContributedEnvironment) CCorePlugin.getDefault().getBuildEnvironmentManager()
|
||||||
.getContributedEnvironment()).serialize(fDes);
|
.getContributedEnvironment()).serialize(fDes);
|
||||||
|
@ -192,7 +192,7 @@ public class XmlProjectDescriptionStorage extends AbstractCProjectDescriptionSto
|
||||||
* Volatile provides a memory barrier in Java 5+ */
|
* Volatile provides a memory barrier in Java 5+ */
|
||||||
private volatile Reference<ICProjectDescription> fProjectDescription = new SoftReference<>(null);
|
private volatile Reference<ICProjectDescription> fProjectDescription = new SoftReference<>(null);
|
||||||
/** The last modification stamp of the .cproject project description file */
|
/** The last modification stamp of the .cproject project description file */
|
||||||
private volatile long projectModificaitonStamp = IResource.NULL_STAMP;
|
private volatile long projectModificationStamp = IResource.NULL_STAMP;
|
||||||
|
|
||||||
/** A lock that is held during project description serialization
|
/** A lock that is held during project description serialization
|
||||||
* This lock is also head during load to prevent a load overlapping
|
* This lock is also head during load to prevent a load overlapping
|
||||||
|
@ -305,9 +305,9 @@ public class XmlProjectDescriptionStorage extends AbstractCProjectDescriptionSto
|
||||||
// If loaded, and we have cached the modification stamp, reload
|
// If loaded, and we have cached the modification stamp, reload
|
||||||
long currentModificationStamp = getModificationStamp(
|
long currentModificationStamp = getModificationStamp(
|
||||||
project.getFile(ICProjectDescriptionStorageType.STORAGE_FILE_NAME));
|
project.getFile(ICProjectDescriptionStorageType.STORAGE_FILE_NAME));
|
||||||
if (projectModificaitonStamp != currentModificationStamp) {
|
if (projectModificationStamp != currentModificationStamp) {
|
||||||
setCurrentDescription(null, true);
|
setCurrentDescription(null, true);
|
||||||
projectModificaitonStamp = currentModificationStamp;
|
projectModificationStamp = currentModificationStamp;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
@ -499,7 +499,7 @@ public class XmlProjectDescriptionStorage extends AbstractCProjectDescriptionSto
|
||||||
ICProjectDescriptionStorageType.STORAGE_FILE_NAME, true, false, false);
|
ICProjectDescriptionStorageType.STORAGE_FILE_NAME, true, false, false);
|
||||||
try {
|
try {
|
||||||
// Update the modification stamp
|
// Update the modification stamp
|
||||||
projectModificaitonStamp = getModificationStamp(
|
projectModificationStamp = getModificationStamp(
|
||||||
project.getFile(ICProjectDescriptionStorageType.STORAGE_FILE_NAME));
|
project.getFile(ICProjectDescriptionStorageType.STORAGE_FILE_NAME));
|
||||||
CProjectDescription des = new CProjectDescription(project, new XmlStorage(storage), storage, true,
|
CProjectDescription des = new CProjectDescription(project, new XmlStorage(storage), storage, true,
|
||||||
false);
|
false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue