[jbosstools-commits] JBoss Tools SVN: r35914 - branches/jbosstools-3.3.0.M4/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Oct 21 17:35:09 EDT 2011


Author: max.andersen at jboss.com
Date: 2011-10-21 17:35:09 -0400 (Fri, 21 Oct 2011)
New Revision: 35914

Modified:
   branches/jbosstools-3.3.0.M4/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
Log:
JBIDE-10001 NPE if saying no to publish on openshift

Modified: branches/jbosstools-3.3.0.M4/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
===================================================================
--- branches/jbosstools-3.3.0.M4/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java	2011-10-21 21:30:28 UTC (rev 35913)
+++ branches/jbosstools-3.3.0.M4/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java	2011-10-21 21:35:09 UTC (rev 35914)
@@ -87,7 +87,7 @@
 		        int response = messageBox.open();
 		        if (response == SWT.YES)
 		        	b[0] = true;
-		        b[1] = false;
+		        b[0] = false;
 			}
 		});
 		return b[0];



More information about the jbosstools-commits mailing list