1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

Fix possible NPE at termination time for bug 305775

This commit is contained in:
Ed Swartz 2010-03-18 19:49:45 +00:00
parent d42788838e
commit 90f7d1a702

View file

@ -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)),