directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r561367 - /directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboComparator.java
Date Tue, 31 Jul 2007 16:02:14 GMT
Author: pamarcelot
Date: Tue Jul 31 09:02:13 2007
New Revision: 561367

URL: http://svn.apache.org/viewvc?view=rev&rev=561367
Log:
Fixed a bug that prevented the Combos to be correctly sorted.

Modified:
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboComparator.java

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboComparator.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboComparator.java?view=diff&rev=561367&r1=561366&r2=561367
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboComparator.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboComparator.java
Tue Jul 31 09:02:13 2007
@@ -46,7 +46,7 @@
 
             if ( ( mr1Names != null ) && ( mr2Names != null ) && ( mr1Names.length
> 0 ) && ( mr2Names.length > 0 ) )
             {
-                return mr1Names[0].compareToIgnoreCase( mr1Names[0] );
+                return mr1Names[0].compareToIgnoreCase( mr2Names[0] );
             }
         }
         else if ( o1 instanceof MatchingRuleImpl && o2 instanceof NonExistingMatchingRule
)



Mime
View raw message