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

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

    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 PatternSet 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:
      PatternSet@17a29a1

      With this patch, it prints like:
      PatternSet [includes:

      {one, two}

      , excludes:

      {three, four}

      ]

      Attachments

        1. patternset.patch
          1 kB
          Wayne Fay

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: