Hi Mike! _transient is _not_ a transient value, but is the value returned by StateHolder#isTransient()
http://javaserverfaces.java.net/nonav/docs/2.0/javadocs/javax/faces/component/StateHolder.html#isTransient%28%29 LieGrue, strub ----- Original Message ----- > From: Mike Kienenberger <[email protected]> > To: MyFaces Development <[email protected]> > Cc: > Sent: Thursday, October 27, 2011 4:20 PM > Subject: Re: StateHolder#isTransient equals and hashCode question > > 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 >> >> >
