You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/13 15:00:00 UTC

[jira] [Work logged] (LANG-1490) Create a more generic/string representation of a DiffResult and a Diff

     [ https://issues.apache.org/jira/browse/LANG-1490?focusedWorklogId=312108&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312108 ]

ASF GitHub Bot logged work on LANG-1490:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Sep/19 14:59
            Start Date: 13/Sep/19 14:59
    Worklog Time Spent: 10m 
      Work Description: nicolasbd commented on pull request #457: [LANG-1490] - Creates DiffResultView and DiffView classes
URL: https://github.com/apache/commons-lang/pull/457
 
 
   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 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


Issue Time Tracking
-------------------

            Worklog Id:     (was: 312108)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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 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



--
This message was sent by Atlassian Jira
(v8.3.2#803003)