directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRAPI-152) Attribute.toString() method appends newline
Date Fri, 23 Aug 2013 04:02:52 GMT

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

Emmanuel Lecharny updated DIRAPI-152:
-------------------------------------

    Fix Version/s: 1.0.0-M21
    
> 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
>             Fix For: 1.0.0-M21
>
>
> 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

Mime
View raw message