You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2013/05/27 17:42:21 UTC

[jira] [Commented] (PROTON-320) [Proton-J] use varargs for Sasl#setMechanisms()

    [ https://issues.apache.org/jira/browse/PROTON-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667812#comment-13667812 ] 

Robbie Gemmell commented on PROTON-320:
---------------------------------------

http://svn.apache.org/r1486644
                
> [Proton-J] use varargs for Sasl#setMechanisms()
> -----------------------------------------------
>
>                 Key: PROTON-320
>                 URL: https://issues.apache.org/jira/browse/PROTON-320
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.5
>
>
> The Sasl#setMechanisms(String[] mechanisms) method is symmetrically used in the client and the server roles. As the client will only be setting one mechanism, using varargs for the method would make this nicer, allowing for either an array or one or more individual strings to be passed.

--
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