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

        Show
        Robbie Gemmell added a comment - http://svn.apache.org/r1486644

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development