directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 55751 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema
Date Wed, 27 Oct 2004 23:57:51 GMT
Author: akarasulu
Date: Wed Oct 27 16:57:51 2004
New Revision: 55751

Modified:
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/DnComparator.java
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/NormalizingComparator.java
Log:
reversing some comparators that were made serializable

Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/DnComparator.java
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/DnComparator.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/DnComparator.java
Wed Oct 27 16:57:51 2004
@@ -18,7 +18,6 @@
 
 
 import java.io.IOException ;
-import java.io.Serializable;
 import java.util.Comparator ;
 
 import javax.naming.Name ;
@@ -38,10 +37,10 @@
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class DnComparator implements Comparator, Serializable
+public class DnComparator implements Comparator
 {
     /** The parser used to parse DN Strings */
-    private transient NameParser parser ;
+    private NameParser parser ;
     
     
     // ------------------------------------------------------------------------

Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/NormalizingComparator.java
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/NormalizingComparator.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/NormalizingComparator.java
Wed Oct 27 16:57:51 2004
@@ -18,7 +18,6 @@
 
 
 import java.util.Comparator;
-import java.io.Serializable;
 import javax.naming.NamingException;
 
 
@@ -29,12 +28,12 @@
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class NormalizingComparator implements Comparator, Serializable
+public class NormalizingComparator implements Comparator
 {
     /** the Normalizer to normalize values with before comparing */
-    private transient Normalizer normalizer;
+    private Normalizer normalizer;
     /** the underlying comparator to use for comparisons */
-    private transient Comparator comparator;
+    private Comparator comparator;
 
 
     /**

Mime
View raw message