Lucene - Core
  1. Lucene - Core
  2. LUCENE-5582

Remove IndexOutput.length and .setLength

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8, Trunk
    • 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.

      1. LUCENE-5582.patch
        13 kB
        Michael McCandless

        Issue Links

          Activity

          Uwe Schindler made changes -
          Link This issue Is contained by LUCENE-5678 [ LUCENE-5678 ]
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Robert Muir made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Robert Muir made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Michael McCandless made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Michael McCandless made changes -
          Field Original Value New Value
          Attachment LUCENE-5582.patch [ 12639247 ]
          Michael McCandless created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development