Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2002-05-31 18:07:08 -0400
committerDarin Wright2002-05-31 18:07:08 -0400
commit37efad85aff2dd6e18bc1ff1cf5226ba2421d17b (patch)
treefd70f97be7c3d2f35ae3e1d92adb0013498146af /org.eclipse.debug.core
parent20fdada4ae18e58959d878c305e16c69bf08b8ad (diff)
downloadeclipse.platform.debug-37efad85aff2dd6e18bc1ff1cf5226ba2421d17b.tar.gz
eclipse.platform.debug-37efad85aff2dd6e18bc1ff1cf5226ba2421d17b.tar.xz
eclipse.platform.debug-37efad85aff2dd6e18bc1ff1cf5226ba2421d17b.zip
bug 16152
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