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 2012/04/28 00:59:55 UTC
svn commit: r1331625 -
/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultAttribute.java
Author: elecharny
Date: Fri Apr 27 22:59:55 2012
New Revision: 1331625
URL: http://svn.apache.org/viewvc?rev=1331625&view=rev
Log:
No need to rehash the cloned Attribute, as the hash won't be different for a cloned element.
Modified:
directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultAttribute.java
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultAttribute.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultAttribute.java?rev=1331625&r1=1331624&r2=1331625&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultAttribute.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultAttribute.java Fri Apr 27 22:59:55 2012
@@ -1930,9 +1930,6 @@ public class DefaultAttribute implements
attribute.attributeType = attributeType;
}
- // Compute the hashCode
- rehash();
-
attribute.values = new LinkedHashSet<Value<?>>( values.size() );
for ( Value<?> value : values )