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

Remove IndexOutput.length and .setLength

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Since we removed seeking from IndexOutput, you can just use
      .getFilePointer() to get the length. Also, nothing uses .setLength,
      so I think we should remove it too.

        Attachments

        1. LUCENE-5582.patch
          13 kB
          Michael McCandless

          Issue Links

            Activity

              People

              • Assignee:
                mikemccand Michael McCandless
                Reporter:
                mikemccand Michael McCandless
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: