directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject ObjectClass hashCode() method
Date Fri, 21 May 2010 09:14:17 GMT
Hi guys,

I know remember why all the SchemaObject's hashcode() methods were 
missing : in fact it was intended for performance reasons. Those 
elements are constantly looked for into the registries during all the 
operations, and if we were to compute the hashcode for every lookup, it 
would be very costly.

That's probably my fault, and I'm sorry that you have created all those 
hashCode() method, I should have made the Abstract hashcode method final 
and explained why in the Javadoc.

I will repair this.

Emmanuel L├ęcharny

View raw message