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

Make Term constructor javadoc refer to BytesRef.deepCopyOf

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.1
    • 4.1, 6.0
    • core/index
    • None
    • New, Patch Available

    Description

      The Term constructor from BytesRef javadoc indicates that a clone needs to be made of the BytesRef.
      But the clone() method of BytesRef is not what is meant, a deep copy needs to be made.

      Attachments

        1. LUCENE-4483.patch
          0.7 kB
          Paul Elschot

        Activity

          People

            Unassigned Unassigned
            paul.elschot@xs4all.nl Paul Elschot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: