Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
8.6.2
-
None
-
New
Description
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.