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

BytesRefArray#append returns wrong index (off by one)

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2
    • 4.3, 4.2.1, 6.0
    • modules/other
    • None
    • New, Patch Available

    Description

      pretty simple thing the returned index is incremented before returned. I will add a test and upload a patch

      Attachments

        1. LUCENE-4865.patch
          5 kB
          Simon Willnauer

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: