Marshall Schor created UIMA-3513:
------------------------------------

             Summary: CasCoper test for views belonging to same CAS broken
                 Key: UIMA-3513
                 URL: https://issues.apache.org/jira/browse/UIMA-3513
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.4.2SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.5.0SDK


The logic is flawed.  Example 1: if cas1's viewname and cas2's viewname are 
both null (could be both base CASes, I think), then it returns the result of 
null == null because it's comparing the viewnames (null strings) instead of the 
base CASes themselves.

The tests further may fail if the CAS is wrapped.  May need to use "equals" 
instead of == , but need to check the default impl of this.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to