svn commit: r13737 - trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2007-11-09 07:59:39-0800
New Revision: 13737

Modified:
   trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java

Log:
Defect 4899: Allow types with different case but same spelling in same package to be displayed

Modified: trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java?view=diff&rev=13737&p1=trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java&p2=trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java&r1=13736&r2=13737
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java	2007-11-09 07:59:39-0800
@@ -112,7 +112,7 @@
     }
     
     /**
-     * Compare two lists of strings using case-insensitive comparison.
+     * Compare two lists of strings using case-sensitive comparison.
      * @return equivalent of list1.compareTo(list2)
      */
     private static int compareStringLists(List<String> list1, 
@@ -128,7 +128,7 @@
             if (name1 == null) {
                 return -1;
             }
-            int comparison = name1.compareToIgnoreCase(name2);
+            int comparison = name1.compareTo(name2);
             if (comparison != 0) {
                 return comparison;
             }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.