directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rudi Wijaya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRAPI-128) FilterEncoder.format() should accept String varargs
Date Fri, 12 Apr 2013 05:41:16 GMT
Rudi Wijaya created DIRAPI-128:
----------------------------------

             Summary: 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


{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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message