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.

        Issue Links

          Activity

          Hide
          elecharny Emmanuel Lecharny added a comment -

          Closing the resolved issues.

          Show
          elecharny Emmanuel Lecharny added a comment - Closing the resolved issues.
          Hide
          akiran Kiran Ayyagari added a comment -
          Show
          akiran Kiran Ayyagari added a comment - Fixed here http://svn.apache.org/r1571224 .

            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:

                Development