Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1485

DiffResult should expose its Left & Right objects with getters

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.9
    • 3.10
    • lang.builder.*
    • None

    Description

      Using a `DiffResult` object outside of any `Diffable` interface, I should be able to access the two objects of the diff.

      Currently, this is impossible since the two fields `Object lhs` and `Object rhs` are private and the class doesn't provide any getter to return them.

       

      PR on Github : https://github.com/apache/commons-lang/pull/451

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nicolasbd Nicolas BARTHE-DEJEAN
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h