[ 
https://issues.apache.org/jira/browse/OPENNLP-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Wiesner resolved OPENNLP-1597.
-------------------------------------
    Resolution: Fixed

> Use isEmpty instead of equals comparison against empty string
> -------------------------------------------------------------
>
>                 Key: OPENNLP-1597
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1597
>             Project: OpenNLP
>          Issue Type: Improvement
>    Affects Versions: 2.3.3
>            Reporter: Martin Wiesner
>            Assignee: Martin Wiesner
>            Priority: Trivial
>             Fix For: 2.4.0
>
>
> Code inspection shows, several classes have equals() checks against empty 
> String in order to validate parameters / enforce constraints on parameters.
> This can be simplified and made "clearer" for devs so that "isEmpty()" is 
> used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to