[ 
https://issues.apache.org/jira/browse/DIRAPI-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kiran Ayyagari resolved DIRAPI-128.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0-M21
         Assignee: Kiran Ayyagari

Fixed here http://svn.apache.org/r1571224.

> FilterEncoder.format() should accept String varargs
> ---------------------------------------------------
>
>                 Key: DIRAPI-128
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-128
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M15
>            Reporter: Rudi Wijaya
>            Assignee: Kiran Ayyagari
>             Fix For: 1.0.0-M21
>
>
> {code}
> final String ldapFilter = 
> FilterEncoder.format("(&(objectclass=person)(|(mail={0})(primaryMail={1})))",
> new String[] { tokenUsername, tokenUsername });
> {code} 
> It should accept String... so that the new String[] is unnecessary.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to