<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 12 May 2011, at 16:06, Manik Surtani wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 11 May 2011, at 18:27, Sanne Grinovero wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I'm also wondering how the equals is performed on a serialized key; I<br>assume they are compared as byte[], but if that's the case that should<br>be clearly documented as it would ignore any custom equals()<br>implementation.<br></div></blockquote><div><br></div><div>Your assumption is correct:</div><div><br></div><div><a href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/marshall/MarshalledValue.java#L176">https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/marshall/MarshalledValue.java#L176</a></div><div><br></div><div>Good point that it needs to be documented clearly. &nbsp;Doing it now.</div></div></div></blockquote><div><br></div><div>Done:&nbsp;</div><div><br></div><div><a href="http://community.jboss.org/wiki/Marshalling#Equality_Considerations">http://community.jboss.org/wiki/Marshalling#Equality_Considerations</a></div><div><br></div><div>--</div></div><div><div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div></div><br class="Apple-interchange-newline">
</div>
<br></body></html>