lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-5235) throw illegalstate from Tokenizer (instead of NPE/IIOBE) if reset not called
Date Sat, 21 Sep 2013 17:02:52 GMT

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message