directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r943042 - /directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/ParentIdAndRdnComparator.java
Date Tue, 11 May 2010 08:47:29 GMT
Author: elecharny
Date: Tue May 11 08:47:28 2010
New Revision: 943042

URL: http://svn.apache.org/viewvc?rev=943042&view=rev
Log:
o Added missing Javadoc
o Removed useless method

Modified:
    directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/ParentIdAndRdnComparator.java

Modified: directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/ParentIdAndRdnComparator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/ParentIdAndRdnComparator.java?rev=943042&r1=943041&r2=943042&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/ParentIdAndRdnComparator.java
(original)
+++ directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/ParentIdAndRdnComparator.java
Tue May 11 08:47:28 2010
@@ -22,7 +22,6 @@ package org.apache.directory.server.xdbm
 
 
 import org.apache.directory.server.xdbm.ParentIdAndRdn;
-import org.apache.directory.shared.ldap.schema.SchemaManager;
 import org.apache.directory.shared.ldap.schema.comparators.SerializableComparator;
 
 
@@ -34,27 +33,26 @@ import org.apache.directory.shared.ldap.
  */
 public class ParentIdAndRdnComparator<ID extends Comparable<ID>> extends SerializableComparator<ParentIdAndRdn<ID>>
 {
-
     private static final long serialVersionUID = 5414960421568991202L;
 
 
+    /**
+     * Creates a new instance of ParentIdAndRdnComparator.
+     *
+     * @param matchingRuleOid The associated MatchingRule
+     */
     public ParentIdAndRdnComparator( String matchingRuleOid )
     {
         super( matchingRuleOid );
     }
 
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public int compare( ParentIdAndRdn<ID> rdn1, ParentIdAndRdn<ID> rdn2 )
     {
         return rdn1.compareTo( rdn2 );
     }
-
-
-    @Override
-    public void setSchemaManager( SchemaManager schemaManager )
-    {
-        // no need to deal with the schema manager
-    }
-
 }
\ No newline at end of file



Mime
View raw message