Author: adietish
Date: 2010-12-02 13:13:28 -0500 (Thu, 02 Dec 2010)
New Revision: 27119
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard2.java
Log:
corrected warnings
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard2.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard2.java 2010-12-02
17:25:00 UTC (rev 27118)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard2.java 2010-12-02
18:13:28 UTC (rev 27119)
@@ -37,7 +37,6 @@
private final static String CREATE_INSTANCE_FAILURE_TITLE =
"CreateInstanceError.title"; //$NON-NLS-1$
private final static String CREATE_INSTANCE_FAILURE_MSG =
"CreateInstanceError.msg"; //$NON-NLS-1$
- private final static String DEFAULT_REASON = "CreateInstanceErrorReason.msg";
//$NON-NLS-1$
private final static String CONFIRM_CREATE_TITLE = "ConfirmCreate.title";
//$NON-NLS-1$
private final static String CONFIRM_CREATE_MSG = "ConfirmCreate.msg";
//$NON-NLS-1$
private final static String DONT_SHOW_THIS_AGAIN_MSG =
"DontShowThisAgain.msg"; //$NON-NLS-1$
@@ -151,7 +150,6 @@
boolean result = false;
Exception e = null;
- String errorMessage = WizardMessages.getString(DEFAULT_REASON);
try {
DeltaCloudManager.getDefault().saveClouds();
boolean dontShowDialog =
prefs.getBoolean(IDeltaCloudPreferenceConstants.DONT_CONFIRM_CREATE_INSTANCE,
@@ -185,7 +183,6 @@
job.schedule();
}
} catch (DeltaCloudException ex) {
- errorMessage = ex.getLocalizedMessage();
e = ex;
}
if (!result) {
Show replies by date