directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r810312 - /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/SerializableComparator.java
Date Wed, 02 Sep 2009 00:03:01 GMT
Author: elecharny
Date: Wed Sep  2 00:03:00 2009
New Revision: 810312

URL: http://svn.apache.org/viewvc?rev=810312&view=rev
Log:
Extends the LdapComparator class instead of implementing Comparator

Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/SerializableComparator.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/SerializableComparator.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/SerializableComparator.java?rev=810312&r1=810311&r2=810312&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/SerializableComparator.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/SerializableComparator.java
Wed Sep  2 00:03:00 2009
@@ -20,11 +20,11 @@
 package org.apache.directory.shared.ldap.schema.comparators;
 
 
-import java.io.Serializable;
 import java.util.Comparator;
 
 import javax.naming.NamingException;
 
+import org.apache.directory.shared.ldap.schema.LdapComparator;
 import org.apache.directory.shared.ldap.schema.registries.ComparatorRegistry;
 
 
@@ -36,14 +36,16 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class SerializableComparator<E> implements Comparator<E>, Serializable
+public class SerializableComparator<E> extends LdapComparator<E>
 {
     private static final long serialVersionUID = 3257566226288162870L;
 
     /** the system global Comparator registry */
     private static ComparatorRegistry registry;
+    
     /** the OID of the matchingRule for this comparator */
     private String matchingRuleOid;
+    
     /** the transient wrapped comparator */
     private transient Comparator<E> wrapped;
 



Mime
View raw message