avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: Semantic bug in Framework?
Date Thu, 29 Jul 2004 14:03:34 GMT
On Thu, 2004-07-29 at 03:58, Niclas Hedhman wrote:
> On Thursday 29 July 2004 15:53, Leo Sutic wrote:
> > That's a bug in ConfigurationUtils.equals.
> >
> > Child order ***is*** significant.

Absolutely order should be relavent.  Some components depend on the
ordering of elements within a configuration.  Hence equals should
consider element order.

> I was hoping for that, but since someone spent a lot of time taking order out 
> of the equation, I suspected the worst.
> 
> Since you seems very confident, I'll start with re-implementing a proper 
> equals() / hashCode() for DefaultConfiguration.

+1

Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message