diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java index e6ed15e9394..6f921dff4bb 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java @@ -437,8 +437,8 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource /** * Creates an AST based on the requested style. May return null if the language of * this translation unit does not support ASTs. If the index was supplied, the caller has to - * hold a read lock on it. The returned AST is valid only while the read lock is being held - * and should not be accessed after releasing the lock. + * hold a read lock on it. The returned AST is valid only while the index read lock is being + * held and should not be accessed after releasing the lock. * @param index index to back up the parsing of the AST, may be null * @param style 0 or a combination of {@link #AST_SKIP_ALL_HEADERS}, * {@link #AST_SKIP_IF_NO_BUILD_INFO}, {@link #AST_SKIP_INDEXED_HEADERS}