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

Remove IndexOutput.length and .setLength

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.8, 6.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: