You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2013/03/30 17:41:15 UTC
[jira] [Created] (UIMA-2780) Initialize multi-value parameters with
a single value
Richard Eckart de Castilho created UIMA-2780:
------------------------------------------------
Summary: Initialize multi-value parameters with a single value
Key: UIMA-2780
URL: https://issues.apache.org/jira/browse/UIMA-2780
Project: UIMA
Issue Type: Improvement
Components: uimaFIT
Reporter: Richard Eckart de Castilho
Assignee: Richard Eckart de Castilho
Fix For: 2.0.0uimaFIT
It should be possible to set a multi-value parameter to a single value without having to wrap the value in a collection or array.
Current:
{noformat}
AnalysisEngine engine = AnalysisEngineFactory.createPrimitive(ParameterizedAE.class,
ParameterizedAE.PARAM_STRING_9, new String[] { "singleelementarray" });
{noformat}
Desired:
{noformat}
AnalysisEngine engine = AnalysisEngineFactory.createPrimitive(ParameterizedAE.class,
ParameterizedAE.PARAM_STRING_9, "singleelementarray");
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira