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

BytesRefHash#get() should expect a BytesRef instances for consistency

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • None
    • None
    • New, Patch Available

    Description

      BytesRefHash#get should use a provided BytesRef instances instead of the internally used scratch. This is how all other APIs currently work and we should be consistent.

      Attachments

        1. LUCENE-2702.patch
          5 kB
          Simon Willnauer

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: