Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-248

Span.equals does not check span type correctly if one has null type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: tools-1.5.2-incubating
    • Fix Version/s: tools-1.5.2-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Span a1 = new Span(100, 1000, "test");
      Span d1 = new Span(100, 1000);

      a1.equals(d1) returns false
      d1.equals(a1) returns true

        Attachments

          Activity

            People

            • Assignee:
              colen William Colen
              Reporter:
              colen William Colen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: