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

Avoid NPE (reported by FindBugs)

This commit is contained in:
John Cortell 2011-03-29 15:38:16 +00:00
parent 79a13f0c70
commit 69100108b5

View file

@ -129,8 +129,9 @@ public class GDBJtagDSFFinalLaunchSequence extends Sequence {
if (fCommandControl == null) { if (fCommandControl == null) {
requestMonitor.setStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, -1, "Cannot obtain control service", null)); //$NON-NLS-1$ requestMonitor.setStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, -1, "Cannot obtain control service", null)); //$NON-NLS-1$
} }
else {
fCommandFactory = fCommandControl.getCommandFactory(); fCommandFactory = fCommandControl.getCommandFactory();
}
requestMonitor.done(); requestMonitor.done();
}}, }},