[ 
https://issues.apache.org/jira/browse/LUCENE-9998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand resolved LUCENE-9998.
----------------------------------
    Fix Version/s:     (was: 8.6.2)
                   main (9.0)
       Resolution: Fixed

> 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
>    Affects Versions: 8.6.2
>            Reporter: kkewwei
>            Priority: Minor
>             Fix For: main (9.0)
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to