Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: msnicklous
Reporter: julien_viet
Votes: 1
Watchers: 0

If you were logged in you would be able to see more operations.

Use varargs when it is possible

Created: 10/May/13 08:32 AM   Updated: 25/Aug/13 04:37 PM   Resolved: 25/Aug/13 04:37 PM
Component/s: Ideas for JSR 362 Extensions
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Participants: andre.hagemeier, julien_viet, msnicklous and Neil Griffin

 Description  « Hide

Some methods of the API uses array based last argument like in BaseURL:

public void setParameter (String name, String[] values);

I suggest we could replace this by a varargs, providing the same signature and improving the usability of the API to:

public void setParameter (String name, String... values);