[ 
https://issues.apache.org/jira/browse/NLPCRAFT-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563388#comment-17563388
 ] 

Sergey Kamov commented on NLPCRAFT-505:
---------------------------------------

merged in 504

> Nullable arguments for API methods.
> -----------------------------------
>
>                 Key: NLPCRAFT-505
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-505
>             Project: NLPCraft
>          Issue Type: Task
>          Components: Main API
>            Reporter: Sergey Kamov
>            Assignee: Aaron Radzinski
>            Priority: Major
>             Fix For: 1.0.0
>
>
> Maybe better to have Option instead of nullable arguments of API methods  and 
> functions return type.
> Example: 
>  - org.apache.nlpcraft.NCModel#onRejection(org.apache.nlpcraft.NCIntentMatch 
> - nullable, e: NCRejection): NCResult  - nullable result



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

Reply via email to