You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2006/08/31 00:05:49 UTC
svn commit: r438666 -
/directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java
Author: elecharny
Date: Wed Aug 30 15:05:48 2006
New Revision: 438666
URL: http://svn.apache.org/viewvc?rev=438666&view=rev
Log:
Removed a badly named hashcode method (should be - and is - hashCode with
an upper cased C)
Modified:
directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java
Modified: directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java?rev=438666&r1=438665&r2=438666&view=diff
==============================================================================
--- directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java (original)
+++ directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java Wed Aug 30 15:05:48 2006
@@ -861,20 +861,6 @@
/**
- * Returns the hash code of this RDN. Two RDNs that are equal (according to
- * the equals method) will have the same hash code.
- *
- * @returnAn int representing the hash code of this Rdn
- */
- public int hashcode()
- {
- // We compute the hashcode using the string, which is a
- // normalized form of a rdn. unescapeValue
- return 37 * 17 + string.hashCode();
- }
-
-
- /**
* Get the number of Attribute type and value of this Rdn
*
* @return The number of ATAVs in this Rdn