[jboss-jira] [JBoss JIRA] (DROOLS-3280) DMNRuntime API for evaluateByID/Name to error if empty array

Matteo Mortari (Jira) issues at jboss.org
Wed Sep 25 03:56:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Mortari updated DROOLS-3280:
-----------------------------------
    Description: there is already some null-check for the public API parameters. However if passing an empty array (e.g. in the varargs) is still semantically wrong when calling these public API method (e.g. evaluate by ID, without passing any IDs). Augment to extend proper checks to support end-user using public API


> DMNRuntime API for evaluateByID/Name to error if empty array
> ------------------------------------------------------------
>
>                 Key: DROOLS-3280
>                 URL: https://issues.jboss.org/browse/DROOLS-3280
>             Project: Drools
>          Issue Type: Enhancement
>          Components: dmn engine
>            Reporter: Matteo Mortari
>            Assignee: Matteo Mortari
>            Priority: Major
>              Labels: good-first-issue
>
> there is already some null-check for the public API parameters. However if passing an empty array (e.g. in the varargs) is still semantically wrong when calling these public API method (e.g. evaluate by ID, without passing any IDs). Augment to extend proper checks to support end-user using public API



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list