kkewwei created LUCENE-9998:
-------------------------------

             Summary: The param 'fis' in StoredFieldsWriter.finish(FieldInfos 
fis, int numDocs) is never used
                 Key: LUCENE-9998
                 URL: https://issues.apache.org/jira/browse/LUCENE-9998
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/codecs
            Reporter: kkewwei


We can see the `FieldInfos fis` in StoredFieldsWriter.finish(FieldInfos fis, 
int numDocs) is never used. 

The class has four subclasses: 
Lucene90CompressingStoredFieldsWriter,Lucene50CompressingStoredFieldsWriter,CrankyStoredFieldsWriter,SimpleTextStoredFieldsWriter.
  the function `finish` in all four subclasses never use `fis`, if we could 
remove it from the function.

The same situation with the function  `finish` in TermVectorsWriter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to