commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <>
Subject RE: [BeanUtils] "Diff" for beans?
Date Wed, 29 Jan 2003 19:09:00 GMT

On Wed, 29 Jan 2003, Nelson, Laird wrote:

> > -----Original Message-----
> > From: Henri Yandell []
> > Any reason why this is "Diff" for beans and not just "Diff" for Java
> > classes?
> Well, I wanted to do it at the object level, not the class level.  Maybe

Doh :) My fault.

It definitely sounds like a useful piece of code. BeanUtils woudl be a
nice place for at least the part which works out the difference between
two bean instances.

Let's say you ask the class to do a bean-diff. What would you get back?
How would you represent the three concepts of changed, added, removed?


View raw message