From 72fda063fca0455200597fa3014ffd3abfc689c7 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 30 Aug 2010 03:41:19 +0000 Subject: [PATCH] Removed use of a deprecated class. --- .../eclipse/cdt/internal/ui/refactoring/NodeContainer.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/NodeContainer.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/NodeContainer.java index 956f864024c..8d0d5ba786c 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/NodeContainer.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/NodeContainer.java @@ -185,12 +185,10 @@ public class NodeContainer { } IASTDeclarator sourceDeclarator = (IASTDeclarator) node; if (sourceDeclarator.getParent() instanceof IASTSimpleDeclaration) { - IASTSimpleDeclaration decl = (IASTSimpleDeclaration) sourceDeclarator - .getParent(); + IASTSimpleDeclaration decl = (IASTSimpleDeclaration) sourceDeclarator.getParent(); declSpec = decl.getDeclSpecifier(); } else if (sourceDeclarator.getParent() instanceof IASTParameterDeclaration) { - IASTParameterDeclaration decl = (IASTParameterDeclaration) sourceDeclarator - .getParent(); + IASTParameterDeclaration decl = (IASTParameterDeclaration) sourceDeclarator.getParent(); declSpec = decl.getDeclSpecifier(); }