You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Olivier Lamy <ol...@apache.org> on 2009/11/15 22:59:57 UTC

Re: [release-manager] equals in release-descriptor.mdo doesn't contain all fields

Hi,

2009/11/15 Mark Struberg <st...@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