Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2643

StringHelper#stringDifference is wrong about supplementary chars

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0, 3.0.1, 3.0.2
    • 3.1, 4.0-ALPHA
    • None
    • None
    • New, Patch Available

    Description

      StringHelper#stringDifference does not take supplementary characters into account. Since this is not used internally at all we should think about removing it but I guess since it is not too complex we should just or fix it for bwcompat reasons. For released versions we should really fix it since folks might use it though. For trunk we could just drop it.

      Attachments

        1. LUCENE-2643.patch
          4 kB
          Simon Willnauer
        2. LUCENE-2643.patch
          0.7 kB
          Robert Muir
        3. LUCENE-2643.patch
          2 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: