directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r569570 - /directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/DnComparator.java
Date Fri, 24 Aug 2007 23:26:35 GMT
Author: elecharny
Date: Fri Aug 24 16:26:35 2007
New Revision: 569570

URL: http://svn.apache.org/viewvc?rev=569570&view=rev
Log:
Added a return if we get some exception, instead of considering both DN are equals

Modified:
    directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/DnComparator.java

Modified: directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/DnComparator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/DnComparator.java?rev=569570&r1=569569&r2=569570&view=diff
==============================================================================
--- directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/DnComparator.java
(original)
+++ directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/DnComparator.java
Fri Aug 24 16:26:35 2007
@@ -72,6 +72,7 @@
         catch ( NamingException e )
         {
             // -- what do we do here ?
+        	return -1;
         }
         
         return dn0.compareTo( dn1 );



Mime
View raw message