Author: adietish
Date: 2010-10-14 04:17:44 -0400 (Thu, 14 Oct 2010)
New Revision: 25815
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/DisconnectCloudHandler.java
Log:
[JBIDE-7329] corrected return of wrong status
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/DisconnectCloudHandler.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/DisconnectCloudHandler.java 2010-10-14
03:52:59 UTC (rev 25814)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/DisconnectCloudHandler.java 2010-10-14
08:17:44 UTC (rev 25815)
@@ -10,12 +10,11 @@
******************************************************************************/
package org.jboss.tools.deltacloud.ui.commands;
-import javax.net.ssl.SSLEngineResult.Status;
-
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.IHandler;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
@@ -45,7 +44,7 @@
}
}
- return Status.OK;
+ return Status.OK_STATUS;
}
private void removeCloudViewElements(Object[] cloudViewerElements) {
Show replies by date