You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2014/02/24 11:48:20 UTC

[jira] [Resolved] (DIRAPI-128) FilterEncoder.format() should accept String varargs

     [ 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)