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

BytesRefArray#append returns wrong index (off by one)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3, 4.2.1, 6.0
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              simonw Simon Willnauer
              Reporter:
              simonw Simon Willnauer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: