Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1092

XWikiAttachment.getComment() should return an empy string if no comment has been set for this attachment

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • 1.0 RC1
    • 1.0 B6
    • {Unused} APIs
    • None

    Description

      This is to prevent NPE and to align the behavior with similar behaviors in XWikiDocument.getTitle()/getAuthor()/getFormat()/etc.

      Attachments

        Activity

          People

            ldubost@free.fr Ludovic Dubost
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: