directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1134277 - in /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators: ComparableComparator.java DnComparator.java
Date Fri, 10 Jun 2011 11:10:34 GMT
Author: elecharny
Date: Fri Jun 10 11:10:34 2011
New Revision: 1134277

URL: http://svn.apache.org/viewvc?rev=1134277&view=rev
Log:
Minor refactoting

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/ComparableComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/DnComparator.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/ComparableComparator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/ComparableComparator.java?rev=1134277&r1=1134276&r2=1134277&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/ComparableComparator.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/ComparableComparator.java
Fri Jun 10 11:10:34 2011
@@ -56,7 +56,7 @@ public class ComparableComparator<T> ext
      * the first is a comparable then its compareTo operation is called and the
      * result returned as is. If the first is not a Comparable but the second is
      * then its compareTo method is called and the result is returned after
-     * being negated. If none are comparables the hashCode of o1 minus the
+     * being negated. If none are comparable the hashCode of o1 minus the
      * hashCode of o2 is returned.
      *
      * @param o1 the first comparable

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/DnComparator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/DnComparator.java?rev=1134277&r1=1134276&r2=1134277&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/DnComparator.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/comparators/DnComparator.java
Fri Jun 10 11:10:34 2011
@@ -29,11 +29,10 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * 
+ * Compare two DNs
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-@SuppressWarnings("serial")
 public class DnComparator extends LdapComparator<Object>
 {
     /** The serial version UID */
@@ -78,7 +77,7 @@ public class DnComparator extends LdapCo
     }
 
 
-    public Dn getDn( Object obj ) throws LdapInvalidDnException
+    private Dn getDn( Object obj ) throws LdapInvalidDnException
     {
         Dn dn = null;
         



Mime
View raw message