[
https://issues.apache.org/jira/browse/UIMA-6417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493303#comment-17493303
]
Richard Eckart de Castilho commented on UIMA-6417:
--------------------------------------------------
UIMA currently only supports {{float}}, {{int}}, {{boolean}} and {{string}}
parameters (and single and multiple values), but not {{double}} or {{long}}.
The question is if we would like to accept double/long values as parameters and
accept the loss in precision / for longs possibly thrown a runtime exception if
the value is too large. An alternative would of course be to also add support
for double/long parameters.
> Problems setting numeric parameter values
> -----------------------------------------
>
> Key: UIMA-6417
> URL: https://issues.apache.org/jira/browse/UIMA-6417
> Project: UIMA
> Issue Type: Bug
> Components: uimaFIT
> Reporter: Richard Eckart de Castilho
> Assignee: Richard Eckart de Castilho
> Priority: Major
> Fix For: 3.3.0uimaFIT
>
>
> It appears there may be problems with the intelligent data conversion when
> setting numeric parameter values using uimaFIT. E.g. what should be tested is
> settings a double value on a float parameter, setting a float for a double,
> settings an int for a double parameter, etc. It could be considered that
> cases where there would be a loss of precision should be rejected, but if
> there is no loss of precision, it should be allowed.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)