From e173a7fb80c1a438ad67ae95e20832fdb24b720e Mon Sep 17 00:00:00 2001 From: John Cortell Date: Mon, 7 Jul 2008 18:57:32 +0000 Subject: [PATCH] Found two remaining cases of "jumpTo" terminology (variables names). Changes to "resumeAt" --- .../internal/ui/actions/ResumeAtLineAdapter.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ResumeAtLineAdapter.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ResumeAtLineAdapter.java index 312ee430173..8acf3bc8d5a 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ResumeAtLineAdapter.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ResumeAtLineAdapter.java @@ -135,8 +135,8 @@ public class ResumeAtLineAdapter implements IResumeAtLineTarget { public boolean canResumeAtLine( IWorkbenchPart part, ISelection selection, ISuspendResume target ) { if ( target instanceof IAdaptable ) { if ( part instanceof IEditorPart ) { - IResumeAtLine jumpToLine = (IResumeAtLine)((IAdaptable)target).getAdapter( IResumeAtLine.class ); - if ( jumpToLine == null) + IResumeAtLine resumeAtLine = (IResumeAtLine)((IAdaptable)target).getAdapter( IResumeAtLine.class ); + if ( resumeAtLine == null) return false; IEditorPart editorPart = (IEditorPart)part; IEditorInput input = editorPart.getEditorInput(); @@ -170,11 +170,11 @@ public class ResumeAtLineAdapter implements IResumeAtLineTarget { final IPath path = convertPath( fileName, debugTarget ); ITextSelection textSelection = (ITextSelection)selection; int lineNumber = textSelection.getStartLine() + 1; - return jumpToLine.canResumeAtLine( path.toPortableString(), lineNumber ); + return resumeAtLine.canResumeAtLine( path.toPortableString(), lineNumber ); } if ( part instanceof DisassemblyView ) { - IResumeAtAddress jumpToAddress = (IResumeAtAddress)((IAdaptable)target).getAdapter( IResumeAtAddress.class ); - if ( jumpToAddress == null ) + IResumeAtAddress resumeAtAddress = (IResumeAtAddress)((IAdaptable)target).getAdapter( IResumeAtAddress.class ); + if ( resumeAtAddress == null ) return false; IEditorInput input = ((DisassemblyView)part).getInput(); if ( !(input instanceof DisassemblyEditorInput) ) { @@ -183,7 +183,7 @@ public class ResumeAtLineAdapter implements IResumeAtLineTarget { ITextSelection textSelection = (ITextSelection)selection; int lineNumber = textSelection.getStartLine() + 1; IAddress address = ((DisassemblyEditorInput)input).getAddress( lineNumber ); - return jumpToAddress.canResumeAtAddress( address ); + return resumeAtAddress.canResumeAtAddress( address ); } } return false;