Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Swartz2010-03-18 19:49:45 +0000
committerEd Swartz2010-03-18 19:49:45 +0000
commit90f7d1a70295c7566d6306cd701bb2ea595e4bf5 (patch)
treefa985e39a5990c73aa19539e5f2aa16f0408950e /dsf/org.eclipse.cdt.dsf.ui
parentd42788838e685c1847ed000f264e2790e6d9f945 (diff)
downloadorg.eclipse.cdt-90f7d1a70295c7566d6306cd701bb2ea595e4bf5.tar.gz
org.eclipse.cdt-90f7d1a70295c7566d6306cd701bb2ea595e4bf5.tar.xz
org.eclipse.cdt-90f7d1a70295c7566d6306cd701bb2ea595e4bf5.zip
Fix possible NPE at termination time for bug 305775
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf.ui')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java
index 67ee1ea6484..4c74684e110 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java
@@ -117,7 +117,7 @@ public abstract class AbstractThreadVMNode extends AbstractDMVMNode
@Override
public boolean isEnabled(IStatus status, java.util.Map<String,Object> properties) {
- return !((Boolean)properties.get(ILaunchVMConstants.PROP_IS_SUSPENDED)).booleanValue();
+ return Boolean.FALSE.equals(properties.get(ILaunchVMConstants.PROP_IS_SUSPENDED));
};
},
new LabelImage(DebugUITools.getImageDescriptor(IDebugUIConstants.IMG_OBJS_THREAD_SUSPENDED)),

Back to the top