From d62d436c146f0a24318eb3869a23a7d8fefc8a6c Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 17 Feb 2011 21:33:05 +0000 Subject: [PATCH] Clarified index locking requirements. --- .../cdt/core/model/ITranslationUnit.java | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) 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 4689f2b7ea3..f074fa8dded 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 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 QNX Software Systems and others. + * Copyright (c) 2000, 2011 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -24,6 +24,7 @@ import org.eclipse.cdt.internal.core.model.IBufferFactory; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; + /** * Represents an entire C translation unit (.c source file). * The children are of type IStructureElement, @@ -160,7 +161,8 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource * * @param name the name of the namespace * @param monitor the progress monitor to notify - * @return the newly inserted namespace declaration (or the previously existing one in case attempting to create a duplicate) + * @return the newly inserted namespace declaration (or the previously existing one in case + * attempting to create a duplicate) * * @exception CModelException if the element could not be created. Reasons include: *