You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "reckart (via GitHub)" <gi...@apache.org> on 2023/09/18 10:30:24 UTC
[GitHub] [uima-uimaj] reckart opened a new issue, #348: Varargs for description classes
reckart opened a new issue, #348:
URL: https://github.com/apache/uima-uimaj/issues/348
**Is your feature request related to a problem? Please describe.**
In many places in the UIMA component description classes, setters accept arrays of values. This makes code calling these setters unnecessarily verbose.
**Describe the solution you'd like**
Where possible, the setters should be change to accept a variadic argument instead.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@uima.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [uima-uimaj] reckart commented on issue #348: Varargs for description class setters
Posted by "reckart (via GitHub)" <gi...@apache.org>.
reckart commented on issue #348:
URL: https://github.com/apache/uima-uimaj/issues/348#issuecomment-1723151422
Although the japicmp does not seem to complain about this change, there is a source incompatibility here.
The meaning of `setFoo(null);` would change from _set foo to null_ to _set foo to [null]_...
This change should probably only be introduced in a major version...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@uima.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Varargs for description class setters [uima-uimaj]
Posted by "reckart (via GitHub)" <gi...@apache.org>.
reckart closed issue #348: Varargs for description class setters
URL: https://github.com/apache/uima-uimaj/issues/348
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@uima.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org