[jbosstools-commits] JBoss Tools SVN: r40849 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue May 8 10:42:07 EDT 2012


Author: adietish
Date: 2012-05-08 10:42:07 -0400 (Tue, 08 May 2012)
New Revision: 40849

Modified:
   trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
Log:
corrected formatting in the warning message

Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java	2012-05-08 14:30:32 UTC (rev 40848)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java	2012-05-08 14:42:07 UTC (rev 40849)
@@ -15,14 +15,10 @@
 import java.net.SocketTimeoutException;
 import java.net.URISyntaxException;
 import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Set;
 
-import org.eclipse.core.resources.IContainer;
 import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.resources.WorkspaceJob;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IProgressMonitor;
@@ -274,11 +270,11 @@
 					wizardModel.importProject(delegatingMonitor);
 				} else if (!wizardModel.isGitSharedProject()) {
 					if (!askForConfirmation(
-							NLS.bind("OpenShift application {0} will be enabled on project {1} by "
-									+ "copying OpenShift configuration and enabling Git for the project.\n "
-									+ "This cannot be undone. \n" 
+							NLS.bind("OpenShift application \"{0}\" will be enabled on project \"{1}\" by "
+									+ "copying OpenShift configuration and enabling Git for the project.\n"
+									+ "This cannot be undone.\n" 
 									+ "Furthermore publishing to your OpenShift app will eventually override existing content.\n" 
-									+ "Do you wish to continue ?",
+									+ "\nDo you wish to continue ?",
 									wizardModel.getApplicationName(), wizardModel.getProjectName()),
 							wizardModel.getApplicationName())) {
 						return Status.CANCEL_STATUS;



More information about the jbosstools-commits mailing list