[
https://issues.apache.org/jira/browse/OPENNLP-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Colen reopened OPENNLP-248:
-----------------------------------
Some unit tests are failing because of this change: NameFinderMETest and
NameSampleDataStreamTest.
I will fix the tests by setting the type of the spans.
> Span.equals does not check span type correctly if one has null type
> -------------------------------------------------------------------
>
> Key: OPENNLP-248
> URL: https://issues.apache.org/jira/browse/OPENNLP-248
> Project: OpenNLP
> Issue Type: Bug
> Affects Versions: tools-1.5.2-incubating
> Reporter: William Colen
> Assignee: William Colen
> Fix For: tools-1.5.2-incubating
>
>
> Span a1 = new Span(100, 1000, "test");
> Span d1 = new Span(100, 1000);
> a1.equals(d1) returns false
> d1.equals(a1) returns true
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira