Menu

Any chance for Entry.{set,add}Atribute(String name, Collection<String>)??

Ryon Day
2013-11-01
2013-11-01
  • Ryon Day

    Ryon Day - 2013-11-01

    Currently the Entry class has single and varargs arguments, and Attribute itself has a constructor with (String, Collection<String>) arguments. Any chance for convenience sake for the latter to make its way into the Entry class?

     
  • Neil Wilson

    Neil Wilson - 2013-11-01

    I just committed a change to the LDAP SDK that adds methods with the following signatures:

     public boolean addAttribute(final String attributeName,
                                 final Collection<String> attributeValues)
    
     public void setAttribute(final String attributeName,
                              final Collection<String> attributeValues)
    

    Neil

     

Log in to post a comment.