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

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

                Author: ASF GitHub Bot
            Created on: 13/Sep/19 17:13
            Start Date: 13/Sep/19 17:13
    Worklog Time Spent: 10m 
      Work Description: garydgregory commented on issue #457: WIP [LANG-1490] - 
Creates DiffResultView and DiffView classes
URL: https://github.com/apache/commons-lang/pull/457#issuecomment-531318800
 
 
   Let me take a closer look this weekend. In the meantime, I would also like 
to work on a patch that defines as `Diffable`:
   
   ```
   public interface Diffable<T extends Diffable<T>>
   ```
   
   This will allow diffs on a class and one of its subclasses for example.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 312183)
    Time Spent: 1h  (was: 50m)

> 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: 1h
>  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 wrote a `DiffResultView` class holding two objects of type `T` and a 
> list of `DiffView` objects.
> https://issues.apache.org/jira/browse/LANG-1490



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

Reply via email to