From 3df7d3854f82cf8c2b8e3ef0e304b3474bc62b6b Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 6 Jan 2011 03:01:07 +0000 Subject: [PATCH] Cosmetics. --- .../ui/refactoring/implementmethod/InsertLocation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/InsertLocation.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/InsertLocation.java index 63e43b3cc30..ceda3a5b11f 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/InsertLocation.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/InsertLocation.java @@ -39,7 +39,7 @@ public class InsertLocation { return nodeToInsertBefore; } - public IASTNode getPartenOfNodeToInsertBefore() throws CoreException{ + public IASTNode getPartenOfNodeToInsertBefore() throws CoreException { IASTNode affectedNode = getAffectedNode(); return (affectedNode != null) ? affectedNode.getParent() : getTargetTranslationUnit(); } @@ -84,7 +84,7 @@ public class InsertLocation { targetTranslationUnit = TranslationUnitHelper.loadTranslationUnit(insertFile, true); } } - + public int getInsertPosition() { if (nodeToInsertBefore != null) { return nodeToInsertBefore.getFileLocation().getNodeOffset();