From 1d9c709b88ae983e6f9a2370c301b146289a4086 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Wed, 4 Apr 2012 20:07:54 -0700 Subject: [PATCH] Cosmetics. --- .../org/eclipse/cdt/core/dom/ast/IASTDeclaration.java | 2 +- .../org/eclipse/cdt/core/dom/ast/IASTDeclarator.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclaration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclaration.java index 69d1f60d13f..8e3ea11db58 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclaration.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclaration.java @@ -17,7 +17,7 @@ package org.eclipse.cdt.core.dom.ast; * @noimplement This interface is not intended to be implemented by clients. */ public interface IASTDeclaration extends IASTNode { - public static final IASTDeclaration[] EMPTY_DECLARATION_ARRAY = new IASTDeclaration[0]; + public static final IASTDeclaration[] EMPTY_DECLARATION_ARRAY = {}; /** * @since 5.1 diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarator.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarator.java index f1d6994bd64..55a24fda2cd 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarator.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarator.java @@ -67,7 +67,7 @@ public interface IASTDeclarator extends IASTNode, IASTNameOwner { public void addPointerOperator(IASTPointerOperator operator); /** - * If the declarator is nested in parentheses, this returns the declarator + * If the declarator is nested in parentheses, returns the declarator * as found in those parentheses. * * @return the nested declarator or null @@ -77,7 +77,7 @@ public interface IASTDeclarator extends IASTNode, IASTNameOwner { public void setNestedDeclarator(IASTDeclarator nested); /** - * This returns the name of the declarator. If this is an abstract + * Returns the name of the declarator. If this is an abstract * declarator, this will return an empty name. * * @return the name of the declarator @@ -85,7 +85,7 @@ public interface IASTDeclarator extends IASTNode, IASTNameOwner { public IASTName getName(); /** - * Set the name of he declarator. + * Sets the name of he declarator. * * @param name * IASTName @@ -93,7 +93,7 @@ public interface IASTDeclarator extends IASTNode, IASTNameOwner { public void setName(IASTName name); /** - * This is the optional initializer for this declarator. + * Returns the optional initializer for this declarator. * * @return the initializer expression or null */