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