Skip to main content

[JIRA] Commented: (PORTLETSPEC3-22) Use varargs when it is possible

  • From: "andre.hagemeier (JIRA)" < >
  • To:
  • Subject: [JIRA] Commented: (PORTLETSPEC3-22) Use varargs when it is possible
  • Date: Wed, 31 Jul 2013 17:48:26 +0000 (UTC)
  • Auto-submitted: auto-generated


    [ 
https://java.net/jira/browse/PORTLETSPEC3-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=367026#action_367026
 ] 

andre.hagemeier commented on PORTLETSPEC3-22:
---------------------------------------------

+1

> Use varargs when it is possible
> -------------------------------
>
>                 Key: PORTLETSPEC3-22
>                 URL: https://java.net/jira/browse/PORTLETSPEC3-22
>             Project: portletspec3
>          Issue Type: Improvement
>          Components: Ideas for JSR 362 Extensions
>            Reporter: julien_viet
>            Priority: Minor
>
> 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);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Commented: (PORTLETSPEC3-22) Use varargs when it is possible

andre.hagemeier (JIRA) 07/31/2013
 
 
Close
loading
Please Confirm
Close