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

Robert Muir updated LUCENE-5235:
--------------------------------

    Attachment: LUCENE-5235_test.patch

modification of BaseTokenSTreamTestCase to check for this... I think its 
correct...
                
> throw illegalstate from Tokenizer (instead of NPE/IIOBE) if reset not called
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-5235
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5235
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Robert Muir
>         Attachments: LUCENE-5235.patch, LUCENE-5235_test.patch
>
>
> We added these best effort checks, but it would be much better if we somehow 
> gave a clear exception... this comes up often

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]

Reply via email to