Skip to content

fix mockanalyzer to not use asserts [LUCENE-6127] #7189

@asfimport

Description

@asfimport

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.


Migrated from LUCENE-6127 by Robert Muir (@rmuir)
Attachments: LUCENE-6127.patch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions