diff options
author | Sergey Prigogin | 2011-05-17 22:31:15 +0000 |
---|---|---|
committer | Sergey Prigogin | 2011-05-17 22:31:15 +0000 |
commit | 73def3b95b03b3251de32d6de1bb63145dbf5533 (patch) | |
tree | ebc7c9ebf9e591bec24912fdeeffe87cea0c3041 /core | |
parent | 5dfe553d80f1465c7a368df42e35a685c837ade1 (diff) | |
download | org.eclipse.cdt-73def3b95b03b3251de32d6de1bb63145dbf5533.tar.gz org.eclipse.cdt-73def3b95b03b3251de32d6de1bb63145dbf5533.tar.xz org.eclipse.cdt-73def3b95b03b3251de32d6de1bb63145dbf5533.zip |
Fixed a typo.
Diffstat (limited to 'core')
-rw-r--r-- | core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java index da8bf21e17b..ff68ab605b7 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/WorkingCopy.java @@ -132,7 +132,7 @@ public class WorkingCopy extends TranslationUnit implements IWorkingCopy { */ @Override public boolean exists() { - // working copy always exists in the model until it is detroyed + // working copy always exists in the model until it is destroyed return this.useCount != 0; } @@ -141,7 +141,6 @@ public class WorkingCopy extends TranslationUnit implements IWorkingCopy { */ @Override public IBufferFactory getBufferFactory(){ - return this.bufferFactory; } @@ -255,8 +254,8 @@ public class WorkingCopy extends TranslationUnit implements IWorkingCopy { return false; } try { - // if resource got deleted, then #getModificationStamp() will answer IResource.NULL_STAMP, which is always different from the cached - // timestamp + // If resource got deleted, then #getModificationStamp() will answer + // IResource.NULL_STAMP, which is always different from the cached timestamp. return ((TranslationUnitInfo) getElementInfo()).fTimestamp == ((IFile) resource).getModificationStamp(); } catch (CModelException e) { return false; @@ -374,7 +373,8 @@ public class WorkingCopy extends TranslationUnit implements IWorkingCopy { if (isReadOnly()) { throw new CModelException(new CModelStatus(ICModelStatusConstants.READ_ONLY, this)); } - // computes fine-grain deltas in case the working copy is being reconciled already (if not it would miss one iteration of deltas). + // computes fine-grain deltas in case the working copy is being reconciled already + // (if not it would miss one iteration of deltas). this.reconcile(); } |