Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3513

CasCoper test for views belonging to same CAS broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.2SDK
    • 2.5.0SDK
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: