1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 12:05:21 +02:00

null property check

This commit is contained in:
David McKnight 2007-01-15 21:05:48 +00:00
parent e0caa1b8f8
commit d6d0a2fd83

View file

@ -609,9 +609,12 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
if (set != null) if (set != null)
{ {
IProperty property = set.getProperty(COMMAND_SHELLS_MEMENTO); IProperty property = set.getProperty(COMMAND_SHELLS_MEMENTO);
if (property != null)
{
property.setValue(shellBuffer.toString()); property.setValue(shellBuffer.toString());
} }
} }
}
protected void internalRemoveShell(Object command) throws java.lang.reflect.InvocationTargetException, protected void internalRemoveShell(Object command) throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException java.lang.InterruptedException