Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-19

[lang] ToStringStyle.setArrayEnd(String) doesn't replace null with empty string.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • None
    • Operating System: All
      Platform: PC

    • 31933

    Description

      According to the javadoc of the ToStringStyle.setArrayEnd(String) method,
      null is accepted, but will be converted to an empty String.

      But, in actual this method does not convert null.

      attached are a fix and a junit test.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tezukam@mm.neweb.ne.jp Masato Tezuka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment