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

FilterEncoder.format() should accept String varargs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M15
    • Fix Version/s: 1.0.0-M21
    • Labels:
      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

              • Assignee:
                elecharny Emmanuel Lecharny
                Reporter:
                rudi Rudi Wijaya
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: