You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/10/06 09:01:23 UTC

[GitHub] [commons-lang] pfried commented on pull request #151: LANG-1233: DiffBuilder add method to allow appending from a DiffResult

pfried commented on pull request #151:
URL: https://github.com/apache/commons-lang/pull/151#issuecomment-704132907


   > Suppose one has a Diffable object where one of the properties is also diffable. For example, given a Person object with an address property, it might be useful to be able to perform a diff on the Person and identify specific differences within the address. You might want the diff result of a Person to show that "address.city" is different rather than just the entire address. This feature allows for that.
   
   Actually imho this is not true since the Diffbuilder has a Type `<T>` the appendable `DiffResult` is also `DiffResult<T>`. If you have a `class Person` and a `class Address` this statement is therefore not true? Or am I missing something and you can give me an example on how to do this?
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org