1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

fixed the source file not found editor for DSF for frames with no file associated with it (raw address).

This commit is contained in:
Warren Paul 2010-02-09 20:20:00 +00:00
parent 4683f554ce
commit 54c1a11ea2

View file

@ -33,7 +33,9 @@ public class CSourceNotFoundElement {
public CSourceNotFoundElement(IAdaptable element, ILaunchConfiguration launch, String file) {
this.element = element;
this.launch = launch;
this.file = file;
// client assumes empty string rather than null
this.file = file != null ? file : ""; //$NON-NLS-1$
}
public ILaunchConfiguration getLaunch() {