Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M18
    • Fix Version/s: 1.0.0-M21
    • Labels:
      None

      Description

      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

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -
        Show
        elecharny Emmanuel Lecharny added a comment - Fixed with http://svn.apache.org/r1516689
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Closing the resolved issues.

        Show
        elecharny Emmanuel Lecharny added a comment - Closing the resolved issues.

          People

          • Assignee:
            elecharny Emmanuel Lecharny
            Reporter:
            rsand Richard Sand
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development