I think it is ok to ignore transient values for equals/hasCode since
it is also not saved as part of the state.  But I'm not an expert.


On Thu, Oct 27, 2011 at 9:53 AM, Mark Struberg <[email protected]> wrote:
> Hi!
>
> we have lots of classes which implement equals but no hashCode() - this is 
> bad.
>
> e.g. DoubleRangeValidator has an equals but doesn't include _transient in 
> it's comparison. Is this ok?
>
> LieGrue,
> strub
>
>

Reply via email to