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:30:20 UTC

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

Robbie Gemmell created PROTON-320:
-------------------------------------

             Summary: [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