[
https://issues.apache.org/jira/browse/LUCENE-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Male updated LUCENE-3397:
-------------------------------
Attachment: LUCENE-3397.patch
Patch which adds state resetting to TokenStreams created in tests.
The only other TSs which are not reusable are done so by design to test that
something can handle non-reusable TSs. When we made reuse mandatory, we can
drop these tests and remove the non reusable TSs.
> Cleanup Test TokenStreams so they are reusable
> ----------------------------------------------
>
> Key: LUCENE-3397
> URL: https://issues.apache.org/jira/browse/LUCENE-3397
> Project: Lucene - Java
> Issue Type: Sub-task
> Components: modules/analysis
> Reporter: Chris Male
> Attachments: LUCENE-3397.patch
>
>
> Many TokenStreams created in tests are not reusable. Some do some really
> messy things which prevent their reuse so we may have to change the tests
> themselves.
> We'll target back porting this to 3x.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]