I realise that and was quite careful. It is a pain the way it works, but the changes I made were largely cosmetic and designed to prevent bugs from creeping in rather than to change the way things are done. I'll will put this in after 1.3 is released.
On Wed, Jul 2, 2008 at 2:38 PM, Arthur Blake <[EMAIL PROTECTED]> wrote: > Just be careful. I had to do some tricky stuff to get the object match > stuff working right with circular reference detection. > > On Fri, Jun 27, 2008 at 7:54 AM, William Becker <[EMAIL PROTECTED]> wrote: > >> I have simplified the way object match works. It works basically the same >> as before, but prevents users from creating their own ObjectMatches, >> prevents serializers from having to play with ints, removes the >> setMismatch() method and makes the mismatch variable final. >> >> Basically, since the only thing that is ever done with mismatches is >> incrementing them, ObjectMatch now provides an increment() method. This >> returns a new ObjectMatch with a greater value than before, so it basically >> works as i=i+1, as opposed to i++. >> >> I have done this because I found in some places Serializers were creating >> their own ObjectMatches with specific values of -1. This used to be ok, but >> the new Mismatch detection implementation uses a number of static variables >> (OKAY for perfect matches, SIMILAR for strings matching ints) all of varying >> negativeness. This was stuffing up the ArraySerializer in some instances. >> >> If no one has any problems I will commit this next week. Also if no one >> has any troubles with the new Map serializer that can use non-String keys, >> and the Set serializer that uses ordered keys (for an ordered set) or >> hashValue keys otherwise, I will commit this too. >> >> Cheers, >> Will >> >> _______________________________________________ >> Jabsorb-dev mailing list >> [email protected] >> http://lists.jabsorb.org/mailman/listinfo/jabsorb-dev >> >> > > _______________________________________________ > Jabsorb-dev mailing list > [email protected] > http://lists.jabsorb.org/mailman/listinfo/jabsorb-dev > >
_______________________________________________ Jabsorb-dev mailing list [email protected] http://lists.jabsorb.org/mailman/listinfo/jabsorb-dev
