Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
index c7af1d4a9..4defebbbf 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchManager.java
@@ -676,7 +676,7 @@ public class LaunchManager implements ILaunchManager, IResourceChangeListener {
public String generateUniqueLaunchConfigurationNameFrom(String namePrefix) {
int index = 1;
String baseName = namePrefix;
- int copyIndex = baseName.lastIndexOf(" (");
+ int copyIndex = baseName.lastIndexOf(" ("); //$NON-NLS-1$
if (copyIndex > -1) {
String trailer = baseName.substring(copyIndex + 1);
try {
@@ -689,7 +689,7 @@ public class LaunchManager implements ILaunchManager, IResourceChangeListener {
try {
while (isExistingLaunchConfigurationName(newName)) {
StringBuffer buffer = new StringBuffer(baseName);
- buffer.append(" (");
+ buffer.append(" ("); //$NON-NLS-1$
buffer.append(String.valueOf(index));
index++;
buffer.append(')');

Back to the top