[ 
https://issues.apache.org/jira/browse/DIRAPI-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny resolved DIRAPI-152.
--------------------------------------

    Resolution: Fixed

Fixed with http://svn.apache.org/r1516689
                
> Attribute.toString() method appends newline
> -------------------------------------------
>
>                 Key: DIRAPI-152
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-152
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M18
>            Reporter: Richard Sand
>            Priority: Minor
>
> For a single-valued attribute Attribute.get(..).getString() properly returns 
> the value whereas Attribute.get(..).toString() is appending a newline 
> character. I'm guessing that this is extraneous.
> I have an Entry that is a groupOfUniqueNames:
> System.out.println("Group " + nextgroup.get("cn") + " found") produces the 
> output
> Group sysAdmin
>  found
> where System.out.println("Group " + nextgroup.get("cn").getString() + " 
> found") produces the output:
> Group sysAdmin found

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

Reply via email to