[
https://issues.apache.org/jira/browse/LUCENE-9998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363005#comment-17363005
]
kkewwei commented on LUCENE-9998:
---------------------------------
It's my please to do it.
> 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: 8.6.2
>
>
> 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]