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(); }