You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "William Colen (JIRA)" <ji...@apache.org> on 2011/08/17 13:38:27 UTC
[jira] [Closed] (OPENNLP-248) Span.equals does not check span type
correctly if one has null type
[ https://issues.apache.org/jira/browse/OPENNLP-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Colen closed OPENNLP-248.
---------------------------------
Resolution: Fixed
> 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