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

Fix the assertion in CharacterUtils

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.4
    • None
    • New, Patch Available

    Description

      Assertions in CharacterUtils's toLowerCase and toUpperCase is not correct.

      Current assertion only allow offsets to be 0, but that is not consistent with javadocs.

      Attachments

        1. LUCENE-9085.patch
          2 kB
          Daiki Tsuzuku

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Daiki Tsuzuku Daiki Tsuzuku
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m