Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3468

FileSet needs a toString() method to properly print in debug mode

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8
    • 2.0.9, 3.0-alpha-1
    • None
    • None
    • Patch

    Description

      It would be nice if FileSet had a toString() method so it would print something intelligent rather than simply a memory location in debug mode.

      Before this change, it prints like:
      FileSet@129f3b5

      With this patch, it prints like (assuming you accept my PatternSet patch):
      FileSet {directory: src/main/resources, PatternSet [includes: {}, excludes: {}]}

      Attachments

        Issue Links

        Activity

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

          People

            brianf Brian E Fox
            wfay Wayne Fay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment