Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-320

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: