commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wim Deblauwe <>
Subject [betwixt] Only use idref for == objects, not for equal objects
Date Mon, 17 Oct 2005 08:12:48 GMT

Betwixt outputs idref attributes for objects that are equal. It would be
better if it only used idref for objects that are the same reference (==).
Because when you use Betwixt now to serialize 2 equal objects, they turn
into the same object after deserialization. So you have a different

This problem can easily be solved by replacing the use of HashMap in
AbstractBeanWriter with IdentityHashMap.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message