From 6f33dd512d89e4e4b1e4ab61c5ed3d33cb9108a6 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Tue, 8 Mar 2011 05:50:23 +0000 Subject: [PATCH] Cosmetics. --- .../core/pdom/dom/cpp/PDOMCPPBinding.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPBinding.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPBinding.java index 46ffae81f15..f2248975145 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPBinding.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPBinding.java @@ -6,8 +6,8 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Symbian - Initial API and implementation - * Markus Schorn (Wind River Systems) + * Symbian - Initial API and implementation + * Markus Schorn (Wind River Systems) *******************************************************************************/ package org.eclipse.cdt.internal.core.pdom.dom.cpp; @@ -28,10 +28,10 @@ import org.eclipse.core.runtime.CoreException; * Mirrors type-hierarchy from DOM interfaces */ public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding { - + @SuppressWarnings("hiding") protected static final int RECORD_SIZE= PDOMBinding.RECORD_SIZE + 0; - + public PDOMCPPBinding(PDOMLinkage linkage, long record) { super(linkage, record); } @@ -39,14 +39,14 @@ public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding public PDOMCPPBinding(PDOMLinkage linkage, PDOMNode parent, char[] name) throws CoreException { super(linkage, parent, name); } - + final public char[][] getQualifiedNameCharArray() throws DOMException { List result = new ArrayList(); try { PDOMNode node = this; while (node != null) { - if (node instanceof PDOMBinding && !(node instanceof ICPPTemplateInstance)) { - result.add(0, ((PDOMBinding)node).getName().toCharArray()); + if (node instanceof PDOMBinding && !(node instanceof ICPPTemplateInstance)) { + result.add(0, ((PDOMBinding) node).getName().toCharArray()); } node = node.getParentNode(); } @@ -60,5 +60,5 @@ public abstract class PDOMCPPBinding extends PDOMBinding implements ICPPBinding public final boolean isGloballyQualified() throws DOMException { // local stuff is not stored in the index. return true; - } + } }