From 4628ff364357b2b524b5490c972397895e7f124b Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 27 Feb 2011 21:01:47 +0000 Subject: [PATCH] Cosmetics. --- .../dom/parser/cpp/CPPASTParameterDeclaration.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTParameterDeclaration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTParameterDeclaration.java index 647efb9c038..a1fb49a3ae8 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTParameterDeclaration.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTParameterDeclaration.java @@ -6,8 +6,8 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * John Camelon (IBM) - Initial API and implementation - * Markus Schorn (Wind River Systems) + * John Camelon (IBM) - Initial API and implementation + * Markus Schorn (Wind River Systems) *******************************************************************************/ package org.eclipse.cdt.internal.core.dom.parser.cpp; @@ -26,7 +26,6 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor; * Function parameter or non-type template parameter declaration. */ public class CPPASTParameterDeclaration extends ASTNode implements ICPPASTParameterDeclaration, IASTAmbiguityParent { - private IASTDeclSpecifier fDeclSpec; private ICPPASTDeclarator fDeclarator; @@ -82,9 +81,9 @@ public class CPPASTParameterDeclaration extends ASTNode implements ICPPASTParame public boolean accept( ASTVisitor action ){ if (action.shouldVisitParameterDeclarations) { switch (action.visit((IASTParameterDeclaration) this)) { - case ASTVisitor.PROCESS_ABORT : return false; - case ASTVisitor.PROCESS_SKIP : return true; - default : break; + case ASTVisitor.PROCESS_ABORT: return false; + case ASTVisitor.PROCESS_SKIP: return true; + default: break; } }