From 198d443e715ae22c4909857a85f9cc98b90b669b Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Tue, 15 Nov 2011 11:02:20 -0800 Subject: [PATCH] Cosmetics. --- .../eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java | 6 ++---- .../cdt/internal/ui/refactoring/utils/EclipseObjects.java | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java index ea5a472b683..aef89346a57 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java @@ -266,8 +266,7 @@ public class AST2CPPTests extends AST2BaseTest { assertNoProblemBindings(col); } - protected IASTTranslationUnit parseAndCheckBindings(String code) throws Exception - { + protected IASTTranslationUnit parseAndCheckBindings(String code) throws Exception { IASTTranslationUnit tu = parse(code, ParserLanguage.CPP); CPPNameCollector col = new CPPNameCollector(); tu.accept(col); @@ -285,8 +284,7 @@ public class AST2CPPTests extends AST2BaseTest { return new BindingAssertionHelper(code, true); } - public void testBug40422() throws Exception - { + public void testBug40422() throws Exception { IASTTranslationUnit tu = parse("class A { int y; }; int A::* x = 0;", ParserLanguage.CPP); //$NON-NLS-1$ CPPNameCollector col = new CPPNameCollector(); tu.accept(col); diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/utils/EclipseObjects.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/utils/EclipseObjects.java index 25022043eec..b86378707fc 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/utils/EclipseObjects.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/utils/EclipseObjects.java @@ -7,7 +7,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Institute for Software - initial API and implementation + * Institute for Software - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.ui.refactoring.utils; @@ -36,9 +36,7 @@ import org.eclipse.cdt.core.model.ICElement; import org.eclipse.cdt.internal.ui.editor.CEditor; /** - * A collection of helper methods to interact with the - * workbench's IDocuments and IFiles - * + * A collection of helper methods to interact with the workbench's IDocuments and IFiles */ public class EclipseObjects { static public IWorkbenchPage getActivePage() {