maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: [release-manager] equals in release-descriptor.mdo doesn't contain all fields
Date Sun, 15 Nov 2009 21:59:57 GMT
Hi,

2009/11/15 Mark Struberg <struberg@yahoo.de>:
> Hi!
>
> I need to add an attribute to the
>
> ./maven-release-manager/src/main/mdo/release-descriptor.mdo
>
> I read through the xml and saw that the equals() method in the <codeSegment> section
doesn't compare all fields. e.g.
>
> scmReleasedPomRevision, remoteTagging is not being compared and scmUseEditMode is compared.
>
> Are those fields missing or is there a reason why not all fields are being compared?

Looks to be an issue :-).
But I'm not sure implementing equals/hashCode is important for such beans.

>
> We also need to check the hashCode()...
>
> txs and LieGrue,
> strub
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



-- 
Olivier

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


Mime
View raw message