Bug 581425 - Replace deprecated method for generating launch configuration name Change-Id: Idab5d71dda76659c92d43608779c1975ae9ae799
diff --git a/xsl/bundles/org.eclipse.wst.xsl.debug.ui/src/org/eclipse/wst/xsl/internal/debug/ui/XSLLaunchShortcut.java b/xsl/bundles/org.eclipse.wst.xsl.debug.ui/src/org/eclipse/wst/xsl/internal/debug/ui/XSLLaunchShortcut.java index 4ce227a..67f19af 100644 --- a/xsl/bundles/org.eclipse.wst.xsl.debug.ui/src/org/eclipse/wst/xsl/internal/debug/ui/XSLLaunchShortcut.java +++ b/xsl/bundles/org.eclipse.wst.xsl.debug.ui/src/org/eclipse/wst/xsl/internal/debug/ui/XSLLaunchShortcut.java
@@ -390,7 +390,7 @@ String lastSegment = xmlFile != null ? xmlFile.getName() : xmlFilePath != null ? xmlFilePath.lastSegment() : "XSLTransformation"; //$NON-NLS-1$ ILaunchConfigurationWorkingCopy wc = configType.newInstance(null, getLaunchManager() - .generateUniqueLaunchConfigurationNameFrom( + .generateLaunchConfigurationName( lastSegment)); if (xmlFile != null) wc