You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2022/07/06 18:43:00 UTC

[jira] [Closed] (NLPCRAFT-505) Nullable arguments for API methods.

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

Sergey Kamov closed NLPCRAFT-505.
---------------------------------
    Resolution: Fixed

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)