From 236c894f33d45ea9f7826f64fda259ed46f6abd7 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 25 Nov 2012 16:38:39 -0800 Subject: [PATCH] Comment adjustments. --- .../core/dom/ast/cpp/ICPPASTAliasDeclaration.java | 13 ++++++------- .../core/dom/ast/cpp/ICPPAliasTemplateInstance.java | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java index de89070c552..ef3ce2d552b 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java @@ -17,7 +17,7 @@ import org.eclipse.cdt.core.dom.ast.IASTName; import org.eclipse.cdt.core.dom.ast.IASTNameOwner; /** - * This interface represents a C++ alias declaration. + * Represents a C++ alias declaration. * e.g. struct Type {}; using Alias = Type; * * Experimental API. May change without notice. @@ -28,8 +28,7 @@ public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner public static final ICPPASTAliasDeclaration[] EMPTY_ALIAS_DECLARATION_ARRAY = {}; /** - * ALIAS_NAME is the name that is brought into local - * scope. + * ALIAS_NAME is the name that is brought into the local scope. */ public static final ASTNodeProperty ALIAS_NAME = new ASTNodeProperty( "ICPPASTAliasDeclaration.ALIAS_NAME - Introduced alias name"); //$NON-NLS-1$ @@ -42,28 +41,28 @@ public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner "ICPPASTAliasDeclaration.TARGET_TYPEID - Pre-existing type ID the new symbol aliases"); //$NON-NLS-1$ /** - * Get the alias name. + * Returns the alias name. * * @return IASTName */ public IASTName getAlias(); /** - * Set the alias name. + * Sets the alias name. * * @param aliasName IASTName */ public void setAlias(IASTName aliasName); /** - * Get the mapping type id. + * Returns the mapping type id. * * @return ICPPASTTypeId */ public ICPPASTTypeId getMappingTypeId(); /** - * Set the mapping type id. + * Sets the mapping type id. * * @param mappingTypeId ICPPASTTypeId */ diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPAliasTemplateInstance.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPAliasTemplateInstance.java index 550013d3558..e2559a9d180 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPAliasTemplateInstance.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPAliasTemplateInstance.java @@ -21,7 +21,7 @@ import org.eclipse.cdt.core.dom.ast.ITypedef; */ public interface ICPPAliasTemplateInstance extends ITypedef, ICPPBinding { /** - * Returns the the alias template specialized by this instance. + * Returns the alias template specialized by this instance. */ public ICPPAliasTemplate getTemplateDefinition(); }