Author: rob.stryker(a)jboss.com
Date: 2011-07-01 05:20:17 -0400 (Fri, 01 Jul 2011)
New Revision: 32524
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSELaunchTabProvider.java
Log:
https://issues.jboss.org/browse/JBIDE-9284
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSELaunchTabProvider.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSELaunchTabProvider.java 2011-07-01
09:18:13 UTC (rev 32523)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSELaunchTabProvider.java 2011-07-01
09:20:17 UTC (rev 32524)
@@ -123,14 +123,14 @@
try {
String startCommand = RSELaunchConfigUtils.getStartupCommand(configuration);
- startText.setText(startCommand);
+ startText.setText(startCommand == null ? "" : startCommand);
boolean detectStartCommand =
RSELaunchConfigUtils.isDetectStartupCommand(configuration, true);
autoStartArgs.setSelection(detectStartCommand);
startText.setEditable(!detectStartCommand);
startText.setEnabled(!detectStartCommand);
String stopCommand = RSELaunchConfigUtils.getShutdownCommand(configuration);
- stopText.setText(stopCommand);
+ stopText.setText(stopCommand == null ? "" : stopCommand);
boolean detectStopCommand =
RSELaunchConfigUtils.isDetectShutdownCommand(configuration, true);
autoStopArgs.setSelection(detectStopCommand);
stopText.setEditable(!detectStopCommand);