Bertrand Dechoux created MRUNIT-134:
---------------------------------------
Summary: Varargs for (fluent?) setter
Key: MRUNIT-134
URL: https://issues.apache.org/jira/browse/MRUNIT-134
Project: MRUnit
Issue Type: Improvement
Reporter: Bertrand Dechoux
Priority: Minor
Varargs are the closest thing to a list literal in java (with type issues in
bonus). Still, sometimes they can avoid a lot of verbose code such as
'asList(a,b,c)'. The aim of this issue is to
1) find where vargars could be used
2) propose a patch
3) see whether the change is useful
One caveat is that @SafeVarargs can't be used because MRunit should be java 5+
compatible. So using varargs might introduce unintended warning for the
consumer of the API.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira