Re: PojoComparator question

2016-05-31 Thread Stephan Ewen
The "compareSerialized" should probably internally always reuse instances, where possible. Since these are never passed into user code or anything, that should be okay to do. On Tue, May 31, 2016 at 11:52 AM, Aljoscha Krettek wrote: > Hi, > I think this is an artifact from the past. Using the "n

Re: PojoComparator question

2016-05-31 Thread Aljoscha Krettek
Hi, I think this is an artifact from the past. Using the "non-reuse" deserialize seems more correct, especially in the presence of subclasses. Best, Aljoscha On Mon, 30 May 2016 at 19:13 Gábor Horváth wrote: > Hi! > > While I was working on code generation support for PojoComparators, I > stumb