You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Rudi Wijaya (JIRA)" <ji...@apache.org> on 2013/04/12 07:41:16 UTC
[jira] [Created] (DIRAPI-128) FilterEncoder.format() should accept
String varargs
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