changeset 102:e8210c93bfa9

Fix a message with parameter
author Omair Majid <omajid@redhat.com>
date Fri, 07 Feb 2014 16:07:53 -0500
parents e5e10d8a356c
children 9cb641d3e236
files com.redhat.thermostat.tools.eclipse.plugin/src/com/redhat/thermostat/tools/eclipse/plugin/wizards/PluginXmlCreationWizard.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/com.redhat.thermostat.tools.eclipse.plugin/src/com/redhat/thermostat/tools/eclipse/plugin/wizards/PluginXmlCreationWizard.java	Fri Feb 07 13:32:55 2014 -0500
+++ b/com.redhat.thermostat.tools.eclipse.plugin/src/com/redhat/thermostat/tools/eclipse/plugin/wizards/PluginXmlCreationWizard.java	Fri Feb 07 16:07:53 2014 -0500
@@ -77,7 +77,7 @@
     private void doFinish(String containerName, String fileName,
             IProgressMonitor monitor) throws CoreException {
         // create a sample file
-        monitor.beginTask(Messages.PluginXmlCreationWizard_creatingFile + fileName, 2);
+        monitor.beginTask(NLS.bind(Messages.PluginXmlCreationWizard_creatingFile, fileName), 2);
         IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
         IResource resource = root.findMember(new Path(containerName));
         if (!resource.exists() || !(resource instanceof IContainer)) {