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

CompoundFileFormat.write() has unnecessary parameter

    Details

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

      Description

      Today it's: write(Directory dir, SegmentInfo si, Collection<String> files, IOContext context)

      But 'files' is not needed. its always si.files() because thats all this format is responsible for (e.g. its not an api for /bin/cat).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: