You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Nicolas BARTHE-DEJEAN (Jira)" <ji...@apache.org> on 2019/09/13 15:00:00 UTC
[jira] [Updated] (LANG-1490) Create a more generic/string
representation of a DiffResult and a Diff
[ https://issues.apache.org/jira/browse/LANG-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas BARTHE-DEJEAN updated LANG-1490:
----------------------------------------
Description:
Currently, a DiffResult and a Diff can only handle the differences of two objects of the same type A, and we cannot set custom differences for a DiffResult<A> if encapsulated objects of type B are different.
I suggest to implement a DiffView class as a simple `String field`, `String leftValue` and `String rightValue` triplet.
I also build a DiffResultView holding two objects of type T and a list of DiffView objects.
was:
Currently, a DiffResult and a Diff can only handle the differences of two objects of the same type A, and we cannot set custom differences for a DiffResult<A> if encapsulated objects of type B are different.
I will implement a DiffView class as a simple String key, String leftVal and String rightVal triplet.
I will also build a DiffResultView holding two objects and a list of DiffView objects
> Create a more generic/string representation of a DiffResult and a Diff
> ----------------------------------------------------------------------
>
> Key: LANG-1490
> URL: https://issues.apache.org/jira/browse/LANG-1490
> Project: Commons Lang
> Issue Type: Wish
> Reporter: Nicolas BARTHE-DEJEAN
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, a DiffResult and a Diff can only handle the differences of two objects of the same type A, and we cannot set custom differences for a DiffResult<A> if encapsulated objects of type B are different.
> I suggest to implement a DiffView class as a simple `String field`, `String leftValue` and `String rightValue` triplet.
> I also build a DiffResultView holding two objects of type T and a list of DiffView objects.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)