Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-128

FilterEncoder.format() should accept String varargs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M15
    • 1.0.0-M21
    • None

    Description

      final String ldapFilter = FilterEncoder.format("(&(objectclass=person)(|(mail={0})(primaryMail={1})))",
      new String[] { tokenUsername, tokenUsername });
      

      It should accept String... so that the new String[] is unnecessary.

      Attachments

        Issue Links

          Activity

            People

              elecharny Emmanuel Lécharny
              rudi Rudi Wijaya
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: