directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRAPI-128) FilterEncoder.format() should accept String varargs
Date Mon, 24 Feb 2014 10:48:20 GMT

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

Mime
View raw message