uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-5773) ConceptMapper test for empty config string incorrect
Date Mon, 30 Apr 2018 19:57:00 GMT
Marshall Schor created UIMA-5773:
------------------------------------

             Summary: ConceptMapper test for empty config string incorrect
                 Key: UIMA-5773
                 URL: https://issues.apache.org/jira/browse/UIMA-5773
             Project: UIMA
          Issue Type: Bug
    Affects Versions: ConceptMapper-2.10.2
            Reporter: Marshall Schor


A test for a missing language configuration is written using

null == v || v == "", the second clause is likely never ==, should be writtend

null == v || v.length() == 0

Probably is code that is never used in practice, hence is at trivial level.  Recommend picking
this up at next release, if and when that happens sometime in the future.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message