[
https://issues.apache.org/jira/browse/UIMA-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor closed UIMA-735.
-------------------------------
> ResultSpecification_impl missing equals and hashCode for inner class -
> causing intermittant test case failure
> -------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-735
> URL: https://issues.apache.org/jira/browse/UIMA-735
> Project: UIMA
> Issue Type: Bug
> Affects Versions: 2.2.1
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
> Fix For: 2.2.2
>
>
> The ResultSpec impl has an inner class, ToF_Languages. When comparing 2
> result specificaitons for equal in test cases, these are compared. But they
> are missing an equals (and hashCode) methods. So the test case fails to say
> they're equal unless they're identical. But cloning happens a lot in the way
> Result specs are used, and in this test, they may be equal (I think) but not
> ==.
> Solution: Add proper equals and hashCode to this inner class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.