Qpid Proton
  1. Qpid Proton
  2. PROTON-320

[Proton-J] use varargs for Sasl#setMechanisms()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: proton-j
    • Labels:
      None

      Description

      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.

        Activity

        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Show
        Robbie Gemmell added a comment - http://svn.apache.org/r1486644
        Robbie Gemmell created issue -

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development