You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/12/19 19:31:14 UTC
[jira] [Updated] (LUCENE-6127) fix mockanalyzer to not use asserts
[ https://issues.apache.org/jira/browse/LUCENE-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-6127:
--------------------------------
Attachment: LUCENE-6127.patch
Here is a first stab. Tests pass.
> fix mockanalyzer to not use asserts
> -----------------------------------
>
> Key: LUCENE-6127
> URL: https://issues.apache.org/jira/browse/LUCENE-6127
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-6127.patch
>
>
> Currently MockAnalyzer's checks are implemented with assert. But this is just for convenience, we should not rely upon asserts being turned on: this is the whole point of the class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org