From ed29a14df2d625531c217a413fb4a2e284277cf8 Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Fri, 5 Dec 2003 20:33:34 +0000 Subject: [PATCH] Changed the message displayed when the source file is not found. --- .../cdt/debug/internal/ui/editors/CDebugEditor.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java index c56e2864388..e2fc7e812c2 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java @@ -287,13 +287,7 @@ public class CDebugEditor extends CEditor { FileNotFoundElement element = (FileNotFoundElement)input.getAdapter( FileNotFoundElement.class ); if ( element != null ) - { - IPath path = element.getFullPath(); - String message = ""; - if ( path.isAbsolute() ) - message = MessageFormat.format( "Can not find the file ''{0}'' in the specified source locations.", new String[] { element.getFullPath().toOSString() } ); - fInputLabel.setText( message ); - } + fInputLabel.setText( MessageFormat.format( "Can not find the file ''{0}'' in the specified source locations.", new String[] { element.getFullPath().toOSString() } ) ); } protected ScrolledComposite getScrolledComposite()