Author: adietish
Date: 2010-12-15 16:31:38 -0500 (Wed, 15 Dec 2010)
New Revision: 27530
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java
Log:
[JBIDE-7917] fixed error reporting
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java 2010-12-15
21:31:05 UTC (rev 27529)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java 2010-12-15
21:31:38 UTC (rev 27530)
@@ -125,11 +125,11 @@
}
if (instance != null &&
instance.getState().equals(DeltaCloudInstance.State.PENDING)) {
// TODO use chained job? Maybe. But chainedJob needs to be moved
- ChainedJob first =
- new InstanceStateJob(
- WizardMessages.getFormattedString(STARTING_INSTANCE_TITLE, instance.getName()),
- instance,
- DeltaCloudInstance.State.RUNNING);
+ ChainedJob first =
+ new InstanceStateJob(
+ WizardMessages.getFormattedString(STARTING_INSTANCE_TITLE, instance.getName()),
+ instance,
+ DeltaCloudInstance.State.RUNNING);
first.setUser(true);
ChainedJob last = first;
ChainedJob temp;
@@ -148,8 +148,8 @@
if (!result) {
ErrorUtils.handleError(
WizardMessages.getString(CREATE_INSTANCE_FAILURE_TITLE),
- WizardMessages.getFormattedString(CREATE_INSTANCE_FAILURE_MSG, new String[] { name,
imageId,
- realmId, profileId }),
+ WizardMessages.getFormattedString(CREATE_INSTANCE_FAILURE_MSG,
+ new String[] { name, imageId, realmId, profileId }),
e, getShell());
}
return result;
Show replies by date