diff options
author | Alain Magloire | 2005-03-16 17:06:01 +0000 |
---|---|---|
committer | Alain Magloire | 2005-03-16 17:06:01 +0000 |
commit | ec263f76dcf2aa65324db0fbd3efc4b736c52d05 (patch) | |
tree | ad9ed8734bb42b5c44dd084f282a14bbe33cd406 /build/org.eclipse.cdt.managedbuilder.ui/src | |
parent | 2f5d16e8392aefb26c12fa4372f470b197a0ff0d (diff) | |
download | org.eclipse.cdt-ec263f76dcf2aa65324db0fbd3efc4b736c52d05.tar.gz org.eclipse.cdt-ec263f76dcf2aa65324db0fbd3efc4b736c52d05.tar.xz org.eclipse.cdt-ec263f76dcf2aa65324db0fbd3efc4b736c52d05.zip |
2005-03-16 Alain Magloire
Patch from Tracy Miranda to fix PR 88160
* src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui/src')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java index d750533c84e..38c9027f24b 100644 --- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java +++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewConfigurationDialog.java @@ -73,7 +73,7 @@ public class NewConfigurationDialog extends StatusDialog { /** * @param parentShell * @param managedTarget - * @param nameList A list of names that have been added by the user but have not yet been added to the target + * @param nameList A list of names (Strings) that have been added by the user but have not yet been added to the target * @param title The title of the dialog */ protected NewConfigurationDialog(Shell parentShell, IManagedProject managedProject, ArrayList nameList, String title) { @@ -324,7 +324,7 @@ public class NewConfigurationDialog extends StatusDialog { } Iterator iter = reservedNames.listIterator(); while (iter.hasNext()) { - if (((IConfiguration)iter.next()).getName().equalsIgnoreCase(newName)) { + if (((String)iter.next()).equalsIgnoreCase(newName)) { return true; } } |