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

Customize text pattern in DiffResult#toString()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.15.0
    • lang.builder.*
    • None

    Description

      At this moment when using DiffResult the toString() method will generate an output like 

      String.format("%s %s %s", lhsBuilder.build(), "differs from", rhsBuilder.build())

      However the differs from is fixed in English, it would be very convenient to have this configurable so that we can also use this with other languages.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            dennis@ennovative-solutions.be Dennis Baerten
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: